Can A Query Be Constructed Using A List Of Strings That Represent A Field In A Firestore Document?
I wish to filter documents based on a list which contains userId's these userId's are fields in the documents I wish to access. this question is similar but instead of a list of do
Solution 1:
It's currently not possible to make one query return all documents that exist in an existing list. This means you will not be able to use FirestoreRecyclerAdapter to populate your RecyclerView, since it's only capable of taking a single Query object. Instead, you will have to make a query for each one of the documents you want to display, collect the results in memory, and use a different type of adapter to populate the view.
Post a Comment for "Can A Query Be Constructed Using A List Of Strings That Represent A Field In A Firestore Document?"