SharedPreferences in a simplified fashion.See: Description
| Interface | Description |
|---|---|
| SharedPreference.PreferenceChangeCallback<P> |
Callback that may be used to listen for changes in value of a specific
SharedPreference
implementation. |
| SharedPreferencesCache |
Interface that specifies a layer for caches that may be used to store values of
SharedPreferences
in a memory. |
| SharedPreferencesFacade |
Interface that specifies a layer which may be used to hide a concrete implementation of
SharedPreferences and to simplify putting and
obtaining of values for such preferences implementation. |
| SharedPreferencesFactory |
Simple interface for factories that may be used to create instances of
SharedPreferences. |
| Class | Description |
|---|---|
| ArrayPreference<T> |
A
SharedPreference implementation that may be used to persist an array of values
via SharedPreferences. |
| BooleanPreference |
A
SharedPreference implementation that may be used to persist a Boolean value via
SharedPreferences. |
| CollectionPreference<T> |
A
SharedPreference implementation that may be used to persist a Collection of values
via SharedPreferences. |
| EnumPreference<E extends Enum> | |
| FloatPreference | |
| IntegerPreference |
A
SharedPreference implementation that may be used to persist a Integer value via
SharedPreferences. |
| ListPreference<T> | Deprecated
Use
CollectionPreference instead. |
| LongPreference | |
| PreferencesConfig | Deprecated
To control library logs use
PreferencesLogging utility class. |
| PreferencesLogging |
Utility class used by the Adapters library for logging purpose.
|
| PreferencesManager |
Manager that may be used to simplify management (storing + obtaining) of values presented within
a
SharedPreferences of an Android application. |
| PreferencesManager.Builder |
Builder that may be used to creates new instances of PreferencesManager with a desired configuration.
|
| SharedPreference<T> |
Base implementation of shared preference object which may be used to persist a desired value
via
SharedPreferences and then retrieve it. |
| SharedPreferencesFactory.SimpleFactory |
A simple implementation of
SharedPreferencesFactory which may be used to create
instances of SharedPreferences with a desired name and file creation mode via either
#SimpleFactory(String) or #SimpleFactory(String, int). |
| SharedPreferencesPolicy |
Simple class that declares basic policies for
SharedPreferences. |
| SharedPreferencesWrapper |
A
SharedPreferences implementation which may be used to wrap an instance of SharedPreferences. |
| SimpleSharedPreferencesFacade |
Simple implementation of
SharedPreferencesFacade which supports simple obtaining
and putting of values persisted in SharedPreferences with which is facade created
via SimpleSharedPreferencesFacade.Builder builder. |
| SimpleSharedPreferencesFacade.Builder<B> |
Builder that may be used to create instances of
SimpleSharedPreferencesFacade which
hide a desired shared preferences instance in order to support simple putting
and obtaining of values stored in such preferences. |
| StringPreference |
| Exception | Description |
|---|---|
| SharedPreferencesCache.NotInCacheException |
An exception that may be used by implementations of
SharedPreferencesCache to indicate
that they have no value stored for a requested key. |
| Annotation Type | Description |
|---|---|
| PreferencesManager.Mode | Deprecated
Use
@SharedPreferencesPolicy.FileMode instead. |
| SharedPreferencesPolicy.FileMode |
Defines an annotation for determining allowed file creation modes for
SharedPreferences
file. |
SharedPreferences in a simplified fashion.