I want the backstack to be preserved after the orientation change. Now he needs to navigate again from A to B and then to C, to be able to see C in landscape. I would expect the user to be in C with the new orientation. The content inside of C is better appreciated in landscape mode, and there is a special landscape layout for C, so the user rotates the device. The problem occurs when the device orientation changes: suppose the first fragment that the user sees is A, then he navigates to B and from B to C. Everything works fine, the user can go back to the previous fragments by pressing the back button. I have a FragmentActivity, when the user navigates through the app, I replace the current fragment with the fragment the user has selected and add add the transactions to backstack.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |