Observer

expect interface Observer<T>

The Observer is an interface that describes a component that is notified when a watched value is changed.

Parameters

T

The type of data being observed.

See also

actual typealias Observer<T> = NObserver<T>

Functions

Link copied to clipboard
expect abstract fun onChanged(value: T)

Called when the data is changed.