Комментарии:
Thanks. Would be great to have a new video focusing more in pagination for realtime cases, like chat apps, for instance. It's kind of complicated to find help online for a consistent way to implement pagination with real-time updates with Firestore
Ответитьwhat if i use streams and streambuilder and list.view builder, do i still need to paginate ?
ОтветитьGreat explanation! Thanks
Ответитьhmm, use start instead offset. got it
ОтветитьPlease add getLength() method to collections. Otherwise, pagination feels like walking down stairs blindfolded
Ответитьnice
ОтветитьThanks...very informative
ОтветитьVery nice.
But how about jump pagination, imagine i'm on page 3, and want to go to page 7, how do i implement that? there is a function to "jump x docs"?
Where can I get an edible bear like in the video?
Ответитьthese videos are really really good and instructional, thanks for them
ОтветитьI believe the key essence here is, the option you choose is dependent on how real-timeliness you want your app to be!!
ОтветитьI still dont know how to do it , I only learned how not to do it
Ответитьi just hope that firebase would find a solution for better pagination and dynamic queries, but as of now it's not one of the best for obvious reason.
ОтветитьA downloadable Xcode sample project would have been nice.. You spoke on how to use it BUT didn't show the specifics concerning snapshot/listener code implementation... Disappointed.
ОтветитьBest teacher end of story
ОтветитьAmazing
ОтветитьBrilliant as ever
ОтветитьwhereEqualTo cannot be used with orderBy!! this video has mistake at [7.57]
ОтветитьRemember that incremental (limit) pagination breaks if you have persistence on, queries might trigger from old cached values. Say you query for 10 elements, you might get 2 element from older cache.
ОтветитьHow to count documents without being charged
Ответитьyou missed one thing, to paginate without infinite scroll we need to know the amount of records the search has, so we can know the amount of pages, how we can do that?
ОтветитьBrain: you are supposed to keep watching this tutorial
Me: I WANT THIS GIANT GUMMY BEAR
Where doesn't seem to work with pagination. Is there a way to combine a where clause and pagination?
Ответитьsuper cool and useful!
Ответитьwhy does everything feel like a one big hack with Cloud Firestore?
ОтветитьHi! I have approximately 4.000 records on my firestore and I am paginating it by 20.But what if I am at the beginning and I want to search for an item that hasn't been loaded yet?How would I handle this situation?Thank you!
ОтветитьThis will be a big issue for most of the companies using Firestore, I was NOT expecting this.
ОтветитьI have a question.
If my documents update index real time, What happen if I separate my collection to 2 collections ?
First collection keep data and second keep only index but same key.
Then I query first 500 keys from second collection and keep in array call "keys_array".
Then I query data from first collection that same key in array 1 by 1 every 20 time when user scroll to the bottom of page.
So I can manage pagination by myself and documents will not swap order in user's screen.
And if this work, it can make numerical paginations.
Because only index that's a number is more low cost than full data of document.
What is `whereField()` ? :D why not just `where()` ?
ОтветитьWhen we're paginating and we're using .startAfter(document[field]) are we supplying the document Id here or the entire document?
ОтветитьHow can we achieve the pagination in PHP language.
ОтветитьWell, if the reads from database is scalling to the loaded documents+new documents instead of just new documents (already loaded documents not need load again) then is lower than the original recyclerView and RecyclerView FirebaseUI... this is very bad idea (you will lost realtime updates and your reads from database increases exponentially) .-.
Ответитьthis is the most confusing function of firestore .....
ОтветитьGreat video!!! thanks
ОтветитьFirebaseUI Pagination not can capturate the Snapshot Document
ОтветитьI don't have Money
Ответитьbroo I spent a lot of time "paginating" as documentation says then I realised that I can use 'offset'... dammit
ОтветитьImagine that gummy bear made out of rum
ОтветитьThis tutorial is misleading. There is no pagination. As after wasting half a day, there is still a very hard thing to do to just get the items with index 20 to 40 as they are in a document.
ОтветитьHi, I have a problem with limit, It always bring 20(for example), when only it is supposed to bring 10 elements. Yes ther another 10 are duplicateds
ОтветитьBring 'offset' to the front end!!!
ОтветитьHow do we know how many pages have using this method?
ОтветитьAh, my loyal friend MySQL and LIMIT 0,20
Ответитьdid the api change ? nothing of this works currently
ОтветитьThanks man!
ОтветитьThis pagination this is really cool, not tedious and very efficient. Nice work Google Firebase Team!
ОтветитьWow sorry guys but this is terrible, we need proper paging...
Ответить