Closed jenniestrongbow closed 3 years ago
You mean instead of query
parameter you want to send a list of document snapshot? Could you please explain with example?
Hi,
Your (fantastic) paginate package has a query attribute that only accepts a Query type. Instead, I'd like to be able to use a List < DocumentSnapshot > type instead.
Thanks!
Glad you like the package.
Do you mean you will make the query separately and just use the result in the pagination widget?
Yes, the fact that the package is limited to a Query type is problematic to me as I'd like to use List types. Thanks
This can be worked on. Please wait for the next version.
Fantastic!!! Looking forward to testing it. Thanks!
any update for this?
@jenniestrongbow Sorry I forgot to mention. There is a package I made that helps with general pagination which is not tightly coupled with Firestore. Its called pagination_view
- https://pub.dev/packages/pagination_view.
Here you can use DocumentSnapshot
in the place of any object. Let me know if this helps.
Hope your issue is resolved. Feel free to reopen this if you face any similar issues.
Thanks Vedartm, I LOVE your packages. Thanks a million!
Hi,
Would it be possible for you to add a feature that allows us to use a List of DocumentSnapshot instead of the Query type ?
Thanks
Jennie