kt-mvvm / com.dukescript.api.kt / Model / Writable

Writable

class Writable<T>

Delegate for creating read-write property.

Constructors

<init>

Writable(factory: (Provider, KProperty<*>) -> ReadWriteProperty<Provider, T>)

Delegate for creating read-write property.

Functions

provideDelegate

operator fun provideDelegate(thisRef: Provider, prop: KProperty<*>): ReadWriteProperty<Provider, T>

Creates read/write property.