vedartm / paginate_firestore

A flutter package to simplify pagination with firestore data 🗃
https://pub.dev/packages/paginate_firestore
MIT License
113 stars 136 forks source link

Adding a new document #32

Closed AhmedNourJamalElDin closed 3 years ago

AhmedNourJamalElDin commented 3 years ago

Hello,

I'm implementing a simple chat using firestore, and I need a pagination. and this library sounds amazing, it handles loaders, pagination, search, all the stuff. Thanks!

However, I want to add a new document to the collection. the new document is not appended to the list view but it's added in the collection in firestore. and it works if I refresh the listview.

Is there any good way to add elements without refreshing the list?

vedartm commented 3 years ago

Sorry! refreshing the listview is the solution for now. But it can done when streaming is implemented.

AhmedNourJamalElDin commented 3 years ago

Thanks @excogitatr , I'm closing in favor of #1