My question is not much involved with coding.
I have an activity which is called GameActivity. It will be called from Levels Activity.
GameActivity Find the right game
Show the instructions (1)
Load the game (2)
Show the game result (3)
- Do i need to have three different fragments?
- All of them are related with each other. So i create a fragment with three different layout and display the layout according to the need?
- I create a nested layout and set the visibility according to the need?
Which will be the best option?
Is there any other better design patter for this kind of situations?
Aucun commentaire:
Enregistrer un commentaire