onRestoreInstanceState

fun onRestoreInstanceState(savedInstanceState: Bundle)

Call this method from the parent Activity/Fragment's corresponding method.

In your Activity/Fragment:


    protected void onRestoreInstanceState( Bundle savedInstanceState ) {
        super.onRestoreInstanceState( savedInstanceState );
        if( mMapControl != null ) {
            mMapControl.onRestoreInstanceState( savedInstanceState );
        }
    }

See also

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

Parameters

savedInstanceState

The data most recently supplied in onSaveInstanceState(Bundle). This value must never be null.