i am trying to build an app where user writes reviews, for instance book reviews. books have different genres. User can click on a button and get redirected to a an activity corresponding to the genre of the book. Where I have two fragments most liked and most recent review.
My idea is, within those fragments reviews related only to this genre are displayed (review: genre & most recent, genre & most liked).
One thing, I think, is to create separate fragments for each genre and then query from the firebase database according to the "genre" child? Or is there a better and faster way to implement it?
I hope this is clear. thank you!
question from:
https://stackoverflow.com/questions/65915420/review-fragments-and-query-from-firebase-database 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…