onStop

open fun onStop()

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