InputSwitch
class InputSwitch(key: String? = null, func: InputSwitch.() -> Unit) : Input
Content copied to clipboard
Input of the type Switch.
Constructors
Functions
Link copied to clipboard
Set a listener which returns the new value when it changed.
Link copied to clipboard
Set the default value.
Link copied to clipboard
Set a drawable.
Link copied to clipboard
Invoke the result listener which returns the input value.
Link copied to clipboard
Set a listener which returns the final value when the user clicks the positive button.