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.
Tab_1 (FragmentA, FragmentB, FragmentC) Tab_2 (FragmentD, FragmentE, FragmentF)
It's necessary for this construction to support the rotation and recreate the stack.