getValue
Lets us declare a val
using a for the value of this property, using this as a delegate. e.g.
val testProperty : ObservableValue = ...
val test by testProperty
Content copied to clipboard
Property has a similar delegate operator setValue
, which allow the val
to be a var
instead.