I am working with nested fragment and I am facing issue when I press back.
Flow:
FragementActivity
A(Fragment) B(Fragment)
C D E F
This is a structur of my application. Where C,D,E,F is child fragments and not added in back stack. D contains List fragment, and from D I called B. But When I press back from B I want again D with last selected position. I added A and B in back stack. How can I achieve this. Provide me some solutions. I recalled D but the selected position changed always.