Observer

Someone who is interested in getting notified about changes to an Observable

Parameters

<T>

the type of variable in whose state changes we are interested

Inheritors

Functions

Link copied to clipboard
open fun isValid(): Boolean
A method to indicate whether an observer is still valid.
Link copied to clipboard
abstract fun observeChange(oldValue: T, newValue: T)
Called when the state is changed.