Fragment is working properly on orientation change in case if i didn't switch between the activity(fragment to non fragment activity) But if i follow the below mentioned steps getting fragment called twice.
Steps are:-
- Display a fragment and then click on a button and go to a another activity(which is not a fragment).
- Coming back to that fragment and then changing the orientation cause calling fragment twice.
So with this the problem is Loss of data saved in saved instance state.
Thanks in Advance.