Update a RecyclerView with LiveData and ViewModel Android/Kotlin

preview_player
Показать описание
In this video, I show a live code example where I update a RecyclerView by observing LiveData that changes. The LiveData is connected to a Firebase Cloud Firestore instance. I show how to save the data to a Firebase Cloud Firestore collection, listen to that collection to update MutableLiveData in a ViewModel, observe on the MutableLiveData, implement a RecyclerView, and then notify the RecyclerView when the observed data have changed.

Рекомендации по теме
Комментарии
Автор

You are an absolute hero. Thank you for this.

dajones
Автор

your videos are unique and incredible thank you so much

BehrouzRZ
welcome to shbcf.ru