I've a "A" fragment as follows (recyclerview): https://img.exs.lv/e/z/ezeliitis/frags.png
- How should I effectively duplicate fragment "A" with different images/text (same layout) and make fragment "B"?
- How should I implement Database information and storage? For instance, I'll have fragments "A" category - 'GAMES'. When I click it, it should transfer to duplicate fragment "B", where it has "Basketball", "Football" ect... Also. If I click the fragments picture, it should show a small square with short information. Should I just make 3 seperate tables? How to link Fragments A - Fragment B - Detail information?
- Also, if I've categories in Fragment "A" as following: cars/food/girls and I click food, then it goes to Fragment "B" which holds pizza/drinks ect - how to make sure fragment B gives right information according to fragment A (make sure it doesnt give from fragment 'a' (food) a result of fragment 'b' which holds information about cars for instance, which would be wrong)?