I want to change screen orientation for each fragment independently in my app (i.e. fragment A is landscape only and fragment B is portrait only) just like I can do that for activities using AndroidManifest.xml.
When I create my fragments I pass a scecific screen orientation constant for each fragment using Fragment.setArgunents(..).
This link provide a visualization of the lifecycle for activity and fragment.
But it didn't really mention the full lifecycle when fragment is being triggered from an activity.
Can someone please explain what is the sequence of method will be triggered (both fragment and activity) when users change the device orientation?
Will this be the sequence: