WeakRef

class WeakRef<T>(initial: T? = null)

Convenience class to be used when in need for a weak reference to an object

Constructors

Link copied to clipboard
constructor(initial: T? = null)

Functions

Link copied to clipboard
operator fun getValue(thisRef: Any?, property: KProperty<*>): T?
Link copied to clipboard
operator fun setValue(thisRef: Any?, property: KProperty<*>, value: T?)