onPause

open fun onPause()

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

In your Activity/Fragment:


    protected void onPause() {
        super.onPause();
        if (mapControl != null) {
            mapControl.onPause();
        }
    }

See also

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