addListener
abstract fun addListener(listener: DeferredObservableProperty.Listener<T>): CancellationToken
Content copied to clipboard
Add a ValueChangeListener for value change on this property.
Return
Cancellation token to cancel the listening. Alternatively you can call removeListener with the same listener object as passed into this method.