-
MVVM + LiveData everywhere
Using LiveData in each layer (i.e., ViewModel, Model). -
MVVM + LiveData + Suspend functions
Use suspended functions in the repository. So, LiveData is only in-between View and ViewModel. -
MVVM + Kotlin Flow
Use CoroutinesLiveData to emit different States. -
MVVM + LiveData + Kotlin Flow
Use Kotlin Flow in Repository. -
MVVM + LifecycleScope + StateFlow
Use Kotlin Flow in ViewModel and Repository. -
@Deprecated("now I prefere different approach") MVI (with RxJava)
-
MVVM (Data Bindings and Android Architecture Components) Old
Source code for my session on Droidcon Online 2020