Readonly Boolean Property
open class ReadonlyBooleanProperty(initialValue: Boolean = false) : ReadonlyProperty<Boolean>
Content copied to clipboard
A ReadonlyBooleanProperty.
Parameters
initial Value
Initial Value. Default: false
.
Constructors
Link copied to clipboard
Creates a ReadonlyBooleanProperty 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.