onPause

protected open fun onPause()

Override this function to be notified when the screen is paused

Pause is called when the screen

  • is not the topmost one

  • it was removed from the screens stack

  • it is the topmost one, but the glasses were disconnected

See also