Kotlin Tutorial MVVM- Simple Example of ViewModel + Repository + LiveData / MutableLiveData Example

preview_player
Показать описание
A very short and simple video to explain the MVVM in android Kotlin Free Example

This video is very small and showing you the basic concept behind live data and how to use live data with viewmodel and repository.

What is ViewModel - A viewmodel in android is lifecycle aware and able to get the data from the repository ( another layer )

What is Repository - A Repository in android is responsible to get data from the Web Services or Database
Рекомендации по теме
welcome to shbcf.ru