EnumSetting

class EnumSetting<T : Enum<*>>(key: Int, default: T, resources: Resources, preference: SharedPreferences) : AbstractSetting<T>

Since

v1.3.0

See also

Constructors

Link copied to clipboard
constructor(key: Int, default: T, resources: Resources, preference: SharedPreferences)

Properties

Link copied to clipboard
open override val flow: Flow<T>

Readonly observable to listen for changes for the setting

Link copied to clipboard
open override var value: T

Allow you to set a value for the setting or access a snapshot value of the setting