public interface IPreferenceValueProvider
TypedPreference
preferences. This is an
abstraction so that different types of backing stores can be used.Modifier and Type | Field and Description |
---|---|
static IPreferenceValueProvider |
DEFAULT_VALUES
A default implementation that only returns the default value for each preference.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
getPreferenceValue(TypedPreference<T> preference)
Get the value of a preference.
|
static final IPreferenceValueProvider DEFAULT_VALUES
<T> T getPreferenceValue(TypedPreference<T> preference)
preference
- preference to get the value forCopyright © 2020. All rights reserved.