update

abstract fun update(oldValue: T, newValue: T)

Can be implemented to react on changes to the observed property.

Parameters

oldValue

Old value of property.

newValue

New value of property.