How to paginate Firestore using Paging 3 on Android?

preview_player
Показать описание


The videos explain how to paginate Firestore using Paging 3 on Android. We are using Flow, ViewModel, Kotlin Coroutines, and Hilt for Android in an MVVM Architecture Pattern.

#Firebase #FirebaseExpert #LearnFirebase #FirebaseTutorial #FirebaseCourse #FirebaseTrainer #FirebaseCoach

Follow me on:

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

If prevKey is always null, how does the paging source know how to fetch previous data or will it start again all over from the beginning?

oluwaFaith
Автор

Sir how can i implement pagination with just live data in view model and the recycler view in a fragment, with Firestore, , i am not using MVVM, please help !

HMANSHU
Автор

Hello sir, I want to implement this with realtime database and I am unable to find a way to do that. Plz help

apunichjohncena
Автор

But this will not listen for live changes or updates?

neerajverma
Автор

Is there any clean approach to implement pagination with real-time updates as this approach is for read only once.

shamalylakhadive
Автор

Sublime. Thanks a lot guy!!

[pt-BR] Você me ajudou a fazer algo que eu tento há muito tempo. Paginação vai me ajudar a economizar muitas leituras do Firestore, sem contar que meu app agora está muito mais flúido. Novamente, muito obrigado!

abnerescocio
Автор

How to build to listen to live changes to data. I want to build an app that uses firestore as remote repo. I also want to use room for offline caching. The reason is I want to be able to do offline search by name. It's not possible to do searches in firestore without using algolia.

Please help.

KPai
Автор

For some reason it's not working for me. I have 15 items, it loads everything and when I add new item in firebase, I can't get it

funnyfailsvids-o
visit shbcf.ru