TAB1 TAB2 TAB3 | | | FragmentA FragmentC FragmentE | | | FragmentB FragmentD FragmentF
I want my user interface to be laid out as shown above. I read about how fragments work, and it looks like I should be able to implement a user interface that allows me to switch between tabs so that each tab has a fragment and selecting something on the fragment to display another fragment.
Now the problem: I do not see how I can support different fragments of fragments in each tab. I want to be able to switch from fragment to FragmentC when using the back button in Tab2. Switching to Tab1 should show me FragmentB and let me go to FragmentA using the BACK button. Is there a way to have multiple fragment stacks as described above?
source share