onStop

open fun onStop(lifecycleOwner: LifecycleOwner)

Called when the LifecycleOwner is no longer visible (ON_STOP).

Parameters

lifecycleOwner

The LifecycleOwner whose state has changed.