PreferenceDelegate

class PreferenceDelegate<T : Any>(val key: String, val default: T)(source)

Constructors

Link copied to clipboard
constructor(key: String, default: T)

Properties

Link copied to clipboard
val default: T
Link copied to clipboard
val key: String

Functions

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