ObservableProperty
Implements the core logic of a property delegate for a read/write property that calls callback functions when changed.
Since Kotlin
1.1Parameters
the initial value of the property.
Implements the core logic of a property delegate for a read/write property that calls callback functions when changed.
Since Kotlin
1.0Parameters
the initial value of the property.
Functions
The callback which is called after the change of the property is made. The value of the property has already been changed when this callback is invoked.
The callback which is called after the change of the property is made. The value of the property has already been changed when this callback is invoked.
The callback which is called before a change to the property value is attempted. The value of the property hasn't been changed yet, when this callback is invoked. If the callback returns true
the value of the property is being set to the new value, and if the callback returns false
the new value is discarded and the property remains its old value.
The callback which is called before a change to the property value is attempted. The value of the property hasn't been changed yet, when this callback is invoked. If the callback returns true
the value of the property is being set to the new value, and if the callback returns false
the new value is discarded and the property remains its old value.
Sets the value of the property for the given object.