Prefs

object Prefs

Create an instance of WritablePreferences or EditablePreferences and bind its values to JVM fields with this object.

Functions

Link copied to clipboard
fun bind(target: Any, getSource: () -> ReadablePreferences): PreferencesSaver

Bind fields annotated with BindPreference with values from this preferences.

Link copied to clipboard

Set logging behavior using PreferencesLogger instance.