onStop

open override fun onStop()

You must call this method from the parent's Activity#onStop() or Fragment#onStop()

See also