HideableWidget

interface HideableWidget

A HideableWidget is a widget which can be hidden automatically after a preset of millis. It also exposes a function to toggle between states

Inheritors

Properties

Link copied to clipboard

define a CountDownTimer to use for the hiding actions

Link copied to clipboard

Milliseconds remaining until the end of the timer

Functions

Link copied to clipboard
open fun autoHide(afterMillis: Long)

Triggers onHidingTimerFinishedCallback after input milliseconds.

Link copied to clipboard
open fun disableAutoHide()

Disable auto-hide hidingTimer even if has already started.

Link copied to clipboard
abstract fun onHidingTimerFinished()

Called when hidingTimer has finished.