BooleanSetting

class BooleanSetting(key: Int, default: Boolean, resources: Resources, preference: SharedPreferences) : AbstractSetting<Boolean>

Since

v1.3.0

See also

Constructors

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

Properties

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

Readonly observable to listen for changes for the setting

Link copied to clipboard
open override var value: Boolean

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