A sample app using Kotlin, MVVM, ViewModels, LiveData. This example shows that how we can communicate different ViewModels in FragmentPerAdapter/ on an Activity using ViewModel, LiveData and MVVM approach.
- View-ViewModel-Interaction - Sample shows View and ViewModel Interaction/Communication.
- Communication-ActivityFragment-ViewModel - Sample shows communication between Activity and Fragment using ViewModel
- ViewModel-ViewModel-Communication - Sample shows communication between ViewModels
- LocationUpdates-LiveData-ViewModel - Sample shows, to get location updates as LiveData in Kotlin.
- Kotlin-MVVM-Architecture - Sample of complete MVVM Architecture using Dagger2, Kotlin, MediatorLiveData, Retrofit etc.