onPause

abstract fun onPause(lifecycleOwner: LifecycleOwner)

Notifies that the ON_PAUSE event occurred.

This method will be called before the [LifecycleOwner]'s [LifecycleOwner.onPause] method is called.

Parameters

lifecycleOwner

the component, whose state was changed