You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It works but with really bad performance. What am I doing wrong? Also I am concerned that when a new record is inserted, the first page will lose its last record (since the limit is fixed for the first query) and second page will continue to start AFTER the last record of the older first page.
The text was updated successfully, but these errors were encountered:
I tried to make pagination work in realtime by creating a FirestoreBoundaryCallback:-
And then I modified the FirestoreQueryDataSource in the following way:-
In my ViewModel, this is what I return:-
It works but with really bad performance. What am I doing wrong? Also I am concerned that when a new record is inserted, the first page will lose its last record (since the limit is fixed for the first query) and second page will continue to start AFTER the last record of the older first page.
The text was updated successfully, but these errors were encountered: