mvvmcoroutinesandflow
mvvmcoroutinesandflow copied to clipboard
An application which demonstrates usage of Kotlin coroutines and Flow with Android's MVVM architecture.
Read more about this project here
Description
This project demonstrates usage of Kotlin coroutines and Flow with MVVM architecture of Android applications.
Libraries used
-
Coroutines - For offloading long running tasks to background
-
Flow - Works very well with coroutines, provides us with cold streams which can be transformed using well known reactive operators.
-
Dagger - For dependency injection
-
Room - For storing our application data
-
Jetpack Navigation - Used to effortlessly navigate between screens.
-
Retrofit - For making API calls
-
Material components for Android - For material theming
Acknowledgements:
- Video from Android Dev Summit 2019 presented by Jose Alcérreca, Yigit Boyar; which inspired me to develop this project
- Used Deferred OkHttp initialization as described by Zac Sweers in his blog.