FirestorePagingAdapter With FirestoreRecyclerAdapter(For RealtimeUpdate in FirestorePagingAdapter) inFirebase-UI

29 views
Skip to first unread message

rahulgu...@gmail.com

unread,
Jan 21, 2019, 3:57:21 PM1/21/19
to Firebase Google Group
Hello Team

According to the Official Documentation of Firebase Firestore.
https://github.com/firebase/FirebaseUI-Android/blob/master/firestore/README.md#choosing-an-adapter

I want to ask you that, Is there any way to use FirestoreRecyclerAdapter(For Realtime Update) with FirestorePagingAdapter(For Pagination Adapter) ?

Or Is there any way to implementing Pagination with Realtime Update in firestore except manually set snapshotListener on Firestore Queries.

Samuel Stern

unread,
Jan 21, 2019, 11:59:30 PM1/21/19
to fireba...@googlegroups.com
Hey there,

You're right there's no adapter with real-time pagination.  We're working on some improvements to the SDK before trying this since it's a bit tricky.  

Just for the sake of gathering feedback, can you tell me about your use case?  Which of these would you need (can be more than one):

1) Know when items are added at the end of the list
2) Know when items are added at arbitrary positions on the list
3) Know when items are removed from any position
4) Know when items change
5) Know when items change and switch positions in the list

- Sam

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/edf4503f-11f2-4ddb-86e2-4710b7f0bdf0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

rahulgu...@gmail.com

unread,
Jan 22, 2019, 12:31:22 PM1/22/19
to Firebase Google Group
My use cases are below:-
1. - 1) Know when items are added at the end of the list (like chat)
2. - 3) Know when items are removed from any position (like listing of Users items)
3. - 4) Know when items change (like listing of Users)

Reply all
Reply to author
Forward
0 new messages