firebase_ui_firestore : Any way to remove realtime live data? #10600
Unanswered
arindammitra06
asked this question in
Feature request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way live data can be stopped while using FirestoreQueryBuilder from firebase_ui_firestore. I am using FirestoreQueryBuilder to render a grid using below query with orderBy clause. But the grid updates whenever the orderBy changes. This should not happen and new data should be refreshed only by refreshing with CustomRefreshIndicator. Please suggest. Thanks in advance.
Query with orderby clause:
FirebaseFirestore.instance.collection('notes').orderBy('totalHits', descending: true).withConverter<Notes>( fromFirestore: (snapshot, _) => Notes.fromJson(snapshot.data()!), toFirestore: (notes, _) => notes.toJson(), )
Beta Was this translation helpful? Give feedback.
All reactions