mardi 4 novembre 2014

Multi backstack with nested fragments - default way to handle it


Vote count:

0




I have one activity with nested fragments... When I navigate into the deep, I change 1 to n fragments at once. When pressing back, I want to make this group change of 1 to n fragments undone.


Is there a common way to that?


By the way, I want this to work even if the application is killed and recreated by system... As it may happen with a long running app... I don't want to lose the backstack in that case. The activity and fragments are recreated anyway, but for example, saving the backstack in a singleton won't work, because this will get lost in this case...



asked 29 secs ago

prom85

659






Multi backstack with nested fragments - default way to handle it

Aucun commentaire:

Enregistrer un commentaire