I want to show data of all children inside all the Categories from the database (added the image below of what my database looks). I am adding data to my RecyclerView using the adapter which needs FirebaseRecyclerOptions object to be passed. I saw one answer where DataSnapshot was used to get child of child data, I tried to get the
Tag: firebaseui
How to show Posts by Specific users in a recyclerview using FirebaseUI library (Java Android)
I am using FirebaseUI library for my social app. I was able to retrieve posts by all users into a recyclerview. My goal is to have another option where users can view and edit their own posts. I cant seem to get user specific posts from the database, how do I go about doing this? Also I’m using a recyclerview
Retrieve subcollection data from Firestore in Android
I keep failed to retrieve the data from subcollection “Diary” when trying on click on a RecyclerView. What I want is when I on click on a RecyclerView, it will display that data stored in the “Diary”. What’s the problem with my codes? RecyclerView Java codes: Stored data Java codes: Retrieve data Java codes: Database structure: Output: Answer I believe
How to filter data in FirebaseRecyclerOptions by spinner?
I’m using Firebase Database to show data in RecyclerView. Now I want to add a filter option by using an Android spinner. When I try to use different queries code doesn’t work. How can I use the spinner to show data for only 1 query and refresh this by changing the spinner item? This code now works without a spinner