I want to fetch corresponding user data from the path users/ after fetching the reviews to a recyclerview
So I have done the 2nd part that all review data is fetched on the list map and ready to display on RecyclerView.
But before that, I need to fetch Username and Userpicture from path users/ (not all of them but the only ones whose id is present in reviews)
So how do I do this using the Firebase query?
I mean if we have the userid inside the path it will be easy to find it by looking for the key value.
but the problem is I don't have it in users/
the user id is the child key
So the question is how do I search for the child key? instead of searching for a value.
please see the image below for Realtime Database structure:
