Ref

sealed interface Ref<T>

Read-only Ref interface

Parameters

T

Inheritors

Properties

Link copied to clipboard
abstract val current: T

Functions

Link copied to clipboard
operator fun <T> Ref<T>.getValue(thisObj: Any?, property: KProperty<*>): T
Link copied to clipboard
open fun observe(observer: Observer<T>)
Link copied to clipboard

Observe Ref as State

Link copied to clipboard
open fun removeObserver(observer: Observer<T>)