I have an app with navigation drawer with Google Maps fragment and some other fragments. I\'m creating the SupportMapFragment
programmatically and putting it in
By default when a configuration changes, such as the orientation, the entire activity is restarted, however you can prevent it from doing so by specifying when the activity can handle itself, this means you can tell the activity to not restart and instead call onConfigurationChanged
read more about it here : how can I save the fragment? when I rotate the screen