open fun onPause(): Unit
You must call this method from the parent Activity/Fragment's corresponding lifecycle method.