typed_preferences library

Classes

EntryPreferencesDriverOperator
Provides access to CRUD-related operation that affect a given PreferencesEntry
GlobalPreferencesDriverOperator
Provides access to operations that affect all SharedPreferences values.
PreferencesDriver
Combines GlobalPreferencesDriverOperator and EntryPreferencesDriverOperator, while providing a default implementation for the interfaces.
PreferencesDriverObserver
A base class for all PreferencesDriver observers.
PreferencesEntry<T extends Object>
Describes a single SharedPreferences entry with associated type T and key with it.
TypedPreferencesDao
A base class for DAOs that allows to define a schema-like object that works with SharedPreferences.

Exceptions / Errors

UnknownPreferencesEntryException<T extends Object>
Thrown when EntryPreferencesDriverOperator is unable to process a given PreferencesEntry implementation due to type-parameter T.