У нас вы можете посмотреть бесплатно Firestore Tutorial Part 13 - DOCUMENT CHANGES - Android Studio Tutorial или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
In part 13 of the Firestore tutorial we will learn how to use DocumentChanges to listen to granular changes in our data set. This way we can retrieve only particular documents that have been added, modified or removed, rather than always retrieving all documents of a query at once. This is particularly useful if we want to display our data in a RecyclerView. We get a List of DocumentChange objects by calling getDocumentChanges on the QuerySnapshot that we get passed in the onEvent method of a SnapshotListener. DocumentChanges can have 3 types: ADDED, MODIFIED and REMOVED, depending on which kind of change happened to the document. From these DocumentChange objects we can retrive the affected DocumentSnapshot by calling getDocument on it. With getOldIndex and getNewIndex we can get the position of the document before and after the change. Watch the whole playlist: • Плейлист Code for this part: https://gist.github.com/codinginflow/... ____________________ 💻 Find the BEST programming tutorials on TutHub: https://tuthub.io ⭐ Get my MVVM Caching Course now: https://codinginflow.com/caching ❗ Subscribe to the channel: / codinginflo. . 📨 Subscribe to the Coding in Flow newsletter: https://codinginflow.com/newsletter ❓ Join our free developer community: / discord 📣 Follow Coding in Flow on other sites: Facebook: / codinginflow Instagram: / codinginflow TikTok: / codinginflow Twitter: / codinginflow Github: https://github.com/codinginflow 💰 Business requests, sponsoring, etc.: info@codinginflow.com