onPause

open override fun onPause(owner: LifecycleOwner)

Notifies that ON_PAUSE event occurred.

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

Parameters

owner

the component, whose state was changed