onSaveInstanceState

fun onSaveInstanceState(outState: Bundle)

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 );
        }
    }

See also

<a href="https://developer.android.com/reference/android/app/Activity#onSaveInstanceState(android.os.Bundle)">Activity.onSaveInstanceState()</a>

Parameters

outState

Bundle in which to place your saved state. This value must never be null.