-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Load More option for recyclerview #17
Comments
This is definitely something we'd love to add to FirebaseUI at some point. Thanks for the feature request! |
thanks for response :) |
Is #110 still the best option? Got here after posting http://stackoverflow.com/questions/41133864/loading-more-items-on-user-scroll-with-firebaseindexrecycleradapter |
Any news on this? I see #7 but it appears it never got merged? |
@samtstern @SUPERCILEX |
Yes we definitely can! I've gotten a working prototype of paginating
infinite scroll to work with Firestore so I know it's possible, although
mine was too messy to publish.
I'm thinking efficient infinite scroll is actually more useful than
something where we expect the developer to explicitly load more but open to
discussing both.
…On Fri, Oct 6, 2017, 6:55 PM Willie Chalmers III ***@***.***> wrote:
@samtstern <https://github.com/samtstern> @SUPERCILEX
<https://github.com/supercilex>
Hey, with Firestore's release, can we revisit this? I think this is
definitely more attainable now.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#17 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AIEw6lixJhwy3BflNiIboP6nunVAmcuQks5sptotgaJpZM4GKcFY>
.
|
With firestore ui release should we be able to pagination? @puf |
@saneeshvs no this feature is still not implemented. |
@samtstern will this feature be implemented in the future |
Maybe! We'd like to do it but have not yet found the time or settled on a
design we like.
…On Wed, Nov 1, 2017, 7:08 PM Saneesh V S ***@***.***> wrote:
@samtstern <https://github.com/samtstern> will this feature be
implemented in the future
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#17 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AIEw6kO4zGp16abLZnb5yYiQDZkSHVcAks5syLOLgaJpZM4GKcFY>
.
|
@samtstern Hoping to see this feature soon |
@samtstern do we have any update on this feature? As this will significantly reduce the un-necessary read operations in Firestore. If its planned for later releases, could you please share the concept behind how you did it? So meanwhile we can try to implement of our own. Thanks for the help. |
Been waiting on this as well |
I've been trying to implement this feature on a project I work on, tired of thinking of the most efficient way to do it, can't wait to see it as a built in feature in FirebaseUI. If you can kindly share the idea behind it, that would be deeply appreciated Best wishes |
We would also love to see this feature. |
Any news on the issue? |
hello, any news ? |
@SUPERCILEX @samtstern We would love if you could provide an update on this. I understand that the development team is busy, but its among the most critical feature in almost all the application. Even if this is not possible to add in Firebase UI at this time, could you please @samtstern share the logic of your version of implementation you mentioned before? This will at-least give us an idea on how to build our own implementation. |
If you all are interested, I have created a sort of proof of concept of being able to load more when reaching the end of the list here: https://github.com/Commit451/FirestoreAdapter It is written in Kotlin and I am still working through some issues, such as the fact that the list gets scrolled back up to the top after rotation and other things like that, but it does work as far as loading more items until reaching the end of the collection within Firestore. |
Everyone: we appreciate your interest, but posting comments asking for updates is not helpful. We have not designed this feature nor written any code for it yet. When we do, the development will be transparent (as usual) and you'll be able to follow along in pull requests and branches. |
how would you all like this to work - a load more header/foot or infinite scroll? |
@samtstern Hello, we need pagination because as lists tend to increase the app starts to lag and the only way is to write custom adapter, and going through using child listeners and keeping track of end keys and start keys to make each batch of data fit. And this makes the code messy and there is no good way of implementing it manually. We just want to know if it is a feature that might be included in firebase ui. Thanks. |
I was curious how you wanted it to work. Does it auto load more? Does
it have a load more button at the bottom? How many does it load
initially and each new load?
…On 1/27/18, svidata ***@***.***> wrote:
Hello, we need pagination because as lists tend to increase the app starts
to lag and the only way is to write custom adapter, and going through using
child listeners and keeping track of end keys and start keys to make each
batch of data fit. And this makes the code messy and there is no good way of
implementing it manually. We just want to know if it is a feature that might
be included in firebase ui. Thanks.
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#17 (comment)
|
Ok I have been working on a paginated RecyclerView adapter for Firestore. The one thing I can get working in a rock-solid way has the following caveats:
Here's what it does have:
Would this be useful to people? It's different than anything we've provided before but still could be useful for a lot of content-driven apps like news, ecommerce, etc. |
Yes it will be useful
…On Fri, 2 Mar 2018, 12:56 a.m. Sam Stern, ***@***.***> wrote:
Ok I have been working on a paginated RecyclerView adapter for Firestore.
The one thing I can get working in a rock-solid way has the following
caveats:
- Not realtime. If an item is updated/removed/etc after it has been
originally fetched the update will not be shown in the current session.
- No live additions. If the user has already scrolled to the very
bottom and an item is added at the end of the query, this will not be
detected.
Here's what it does have:
- A paging adapter that can dynamically load/unload "pages" of data to
keep memory use low.
- A scroll listener to turn the paging adapter into an "infinite
scroll" adapter (optional, you can page manually)
Would this be useful to people? It's different than anything we've
provided before but still could be useful for a lot of content-driven apps
like news, ecommerce, etc.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#17 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ASmeMeKhnLuBjUDPKWgWYVbpZ0fJxDMRks5taEtHgaJpZM4GKcFY>
.
|
@samtstern yes that will be helpful for now. Thank you so much |
@kumarkeviv @saneeshvs thanks for the quick response! Would you mind sharing what you'd use it for? Just so I can make sure it's actually useful for your cases. |
@samtstern we have an educational application, with one section called "Mashup" which show users the trending news in the area of their interest. It will be very helpful for us. |
Working on this in #1178 |
I'm using it for a video sharing app
…On Fri, Mar 2, 2018 at 2:10 AM, Sam Stern ***@***.***> wrote:
@kumarkeviv <https://github.com/kumarkeviv> @saneeshvs
<https://github.com/saneeshvs> thanks for the quick response! Would you
mind sharing what you'd use it for? Just so I can make sure it's actually
useful for your cases.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#17 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ASmeMZL_iJCXbuDOPexF9y7_PiMCSee5ks5taFzDgaJpZM4GKcFY>
.
--
Regards,
Saneesh V. S.
|
@samtstern I'd love the pagination option for a project am working on whereby a user gets lists of shops selling particular items, and the number is a bit large. Any update on the pagination option? |
I want to use the infinite scrolling for a boot sale app. I need to first display the most recent ones then give the user the possibility to scroll to get older ones |
@samtstern I am building chat functionality into my app, and am interested in using the paging adapter your working on. Would it suit my needs? I have a RecyclerView with |
#1178 has been merged. This means the feature will launch in version If anyone wants to try it now and give early feedback follow these instructions for using Docs here: |
The Firestore paging adapter is still coming in the next version (renamed |
So the new Maybe Firebase UI's paging adapter shoud support this by offering |
That's exactly what we've done for Firestore! We're offering a
DataSource. Check out the 4.0.0-dev branch.
…On Thu, May 10, 2018, 3:13 PM Tymen Steur ***@***.***> wrote:
So the new PagedList with corresponding PagedListAdapter was announced by
Google as part of the Paging library of Jetpack.
Maybe Firebase UI's Paging adapter shoud support this by offering
DataSource implementations?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#17 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AIEw6rTg8mZKekbT2gpscFYijRP3F8YGks5txLtzgaJpZM4GKcFY>
.
|
|
Closing this very old issue since we have finally release (some) paging support, even though it's only for Firestore and not RTDB. If we add more we can have a concrete discussion in a separate issue, like #1256. Thank you to everyone who contributed here! |
Load More option for recyclerview
The text was updated successfully, but these errors were encountered: