By V2020

2020-02-14 08:49:43 8 Comments

In my app I have some tabs. In each tab I must have a back stack. I have seen a lot of old questions how to create the back stack in tabs but now these questions are not actual for a single activity and clean architecture development.

For example:

Tab_1 (FragmentA, FragmentB, FragmentC)

Tab_2 (FragmentD, FragmentE, FragmentF)

It's necessary for this construction to support the rotation and recreate the stack.


Related Questions

Sponsored Content

6 Answered Questions

[SOLVED] How to correctly save instance state of Fragments in back stack?

14 Answered Questions

[SOLVED] Dilemma: when to use Fragments vs Activities:

13 Answered Questions

4 Answered Questions

[SOLVED] Understanding Fragment's setRetainInstance(boolean)

3 Answered Questions

[SOLVED] How to save fragment state while navigating through activity

3 Answered Questions

Sponsored Content