MutableRef

class MutableRef<T>(initialValue: T) : Ref<T>

Mutable ref

Parameters

T
initialValue

Constructors

Link copied to clipboard
constructor(initialValue: T)

Properties

Link copied to clipboard
open override var current: T

Functions

Link copied to clipboard
open override fun observe(observer: Observer<T>)
Link copied to clipboard
open override fun removeObserver(observer: Observer<T>)
Link copied to clipboard
operator fun <T> MutableRef<T>.setValue(thisObj: Any?, property: KProperty<*>, value: T)