fun SharedPreferences.edit(: Editor.() -> Unit): Unit
Creates a new {@link SharedPreferences.Editor}, calls the specified block, then calls {@link SharedPreferences.Editor#apply} |
|
operator fun <V> SharedPreferences.getValue(: Any?, : KProperty<*>): V?
Allows reading of SharedPreferences setting via delegated property. |
|
operator fun <V> SharedPreferences.setValue(: Any?, : KProperty<*>, : V?): Unit
Allows reading of SharedPreferences setting via delegated property. |