Answer the question
In order to leave comments, you need to log in
How to implement master-detail flow with fragments and firebase realtime database?
Hi guys!
I need to implement an application like in these screenshots.
And understand how I can do it better and with what navigation.
Answer the question
In order to leave comments, you need to log in
You don't have the correct data structure, so you don't understand it. In the main screen you have a list of topics. This list should be separate and each topic should have its own unique id. Next, you need to create a questions field in which, by the key from the main, you will find out what questions are in it. And you also need to create questionsDetailes where the id from questions will contain all the details on this issue.
id firebase can generate itself. here is an example in android.
read documentation
https://firebase.google.com/docs/database/android/...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question