I have been searching about fragments for days. I could not find any example or question about my case. In my case, orientation change and saving state is so important.
In the app, there will be many steps. For each step, there will be a fragment on portrait mode. User will sliding on them for next step. But on the landscape mode, all steps will be on only one screen.No sliding. When orientation changes, states should be saved. During the using application the user will change orientation anytime he/she wants.
Can anyone give me example about this?
My current approach is like that: For portrait: Many fragments For landscape: Only one fragment and this is not one of portrait fragments.