Skip to content

Use case and example of MutableLiveData and MediatorLiveData

Notifications You must be signed in to change notification settings

Asad-noor/android-livedata-binding

Repository files navigation

android-livedata-binding

To understand ViewModel it is very important to know the use case and example of MutableLiveData and MediatorLiveData with different scenarios but same target result.

For example, here in 1st example, we have added two input fields and two buttons like plus and reset and in 2nd example, two buttons will be removed but result will be displayed after finish typing.

About

Use case and example of MutableLiveData and MediatorLiveData

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages