This is an example of an Android App who uses coroutines flow to retrieve a list of https://jsonplaceholder.typicode.com/posts but retrieve the data one per one and be added to the RecyclerView.
- Material 1 version: '1.1.0'
- AndroidX version: '1.0.0'
- LifeCycleKtx 2 version: '2.2.0'
- Koin 2 version: '2.2.0'
- Coroutines 1 version: '1.3.3'
- Coroutines Test 1 version '1.3.2'
- Retrofit 2 version: '2.6.0'
- Gson version:'2.7.1'
- OkHttp 4 version: '4.2.2'
- Mockk 1 version: '1.9.3'
- Arch Testing 1 version: '1.1.1'
- JUnit 4 version: '4.12'
-
Asynchronous development in Android: RxJava Vs. Kotlin Flow https://medium.com/makingtuenti/asynchronous-development-in-android-rxjava-vs-kotlin-flow-f7fdf2e2f81b
-
LiveData with Coroutines and Flow (Android Dev Summit '19) https://www.youtube.com/watch?v=B8ppnjGPAGE
-
Reactive scrabble benchmarks https://github.com/Kotlin/kotlinx.coroutines/blob/develop/benchmarks/src/jmh/kotlin/benchmarks/flow/scrabble/README.md
-
Unit-testing LiveData and other common observability problems https://medium.com/androiddevelopers/unit-testing-livedata-and-other-common-observability-problems-bb477262eb04
-
MVVM Testing w/Coroutines https://github.com/emedinaa/kotlin-mvvm/tree/coroutines?fbclid=IwAR1XZW4yr-LuwlOYnVIz_glvsNunsdvloMHq3-Y8iGTNL2F4fJxhLNGizSo
Carlos Ugaz |
Jose Diaz |