I have a Firestore Database that looks like this:
Root
Accounts
username: UID1
Friends
id: SOME_ID
members: {UID1, UID2}
I display all the friends in a RecyclerView
. But how can I use the username
field in the Accounts
collection to query the Friends
List?