Boolean Property
open class BooleanProperty(initialValue: Boolean = false) : Property<Boolean>
Content copied to clipboard
A BooleanProperty.
Parameters
initial Value
Initial Value. Default: false
.
Constructors
Link copied to clipboard
Creates a BooleanProperty with given initial value.
Functions
Link copied to clipboard
Adds a listener silently.
Link copied to clipboard
fun addListenerAndInvoke(initialValue: Boolean, listener: (Boolean, Boolean) -> Unit)
Content copied to clipboard
Adds a listener and calls ValueObserver.update on this new listener with given initial value.
Link copied to clipboard
Removes all listeners.
Link copied to clipboard
Notifies all listeners with current value.
Link copied to clipboard
Removes a listener.