on Save Instance State
Call this method from the parent Activity/Fragment's corresponding method.
In your Activity/Fragment:
protected void onSaveInstanceState( Bundle outState ) {
super.onSaveInstanceState( outState );
if( mMapControl != null ) {
mMapControl.onSaveInstanceState( outState );
}
}
Content copied to clipboard
See also
<a href="https://developer. android. com/reference/android/app/Activity#on Save Instance State(android. os. Bundle)">Activity. on Save Instance State()</a>
Parameters
out State
Bundle in which to place your saved state. This value must never be null.