Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mrcodetastic/kotlin-android-coroutine-async-fuel-example
An example Android Studio project which uses Kotlin Coroutines for Async HTTP/HTTPs calls to the UI. Based of what I could see as being 'better practice' on the internet
https://github.com/mrcodetastic/kotlin-android-coroutine-async-fuel-example
Last synced: 10 days ago
JSON representation
An example Android Studio project which uses Kotlin Coroutines for Async HTTP/HTTPs calls to the UI. Based of what I could see as being 'better practice' on the internet
- Host: GitHub
- URL: https://github.com/mrcodetastic/kotlin-android-coroutine-async-fuel-example
- Owner: mrcodetastic
- Created: 2021-01-05T21:05:31.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-01-05T21:21:11.000Z (almost 4 years ago)
- Last Synced: 2024-10-11T13:36:10.941Z (about 1 month ago)
- Language: Kotlin
- Size: 158 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Android + Kotlin + Fuel + Async + Coroutines
My attempt to understand what the hell this is and how it can be used to create an Android application according to 2021 basic standards.Example Android Studio project does nothing but creates two Coroutines to different Dispatch handlers.
That is, constantly update the main UI screen with a new number, whilst also allowing HTTP query on the other.
# Useful reading
* https://github.com/mitchtabian/Kotlin-Coroutine-Examples/blob/master/app/src/main/java/com/codingwithmitch/coroutineexamples/MainActivity.kt
* https://medium.com/better-programming/asynchronous-programming-with-kotlin-coroutines-5b3417f53ac6
* https://www.youtube.com/watch?v=t-3TOke8tq8
* https://www.youtube.com/watch?v=2QInrEaXyMo
* https://www.youtube.com/watch?v=C38lG2wraoo![It's better in real life](Screenshot_1.png)