public interface RestoreDefaultsListener
PreferenceFragment, should be restored.| Modifier and Type | Method and Description |
|---|---|
void |
onRestoredDefaultValue(PreferenceFragment fragment,
Preference preference,
java.lang.Object oldValue,
java.lang.Object newValue)
The method, which is invoked, when the default value of a specific preference has been
restored.
|
boolean |
onRestoreDefaultValueRequested(PreferenceFragment fragment,
Preference preference,
java.lang.Object currentValue)
The method, which is invoked, when the default value of a specific preference, should be
restored.
|
boolean |
onRestoreDefaultValuesRequested(PreferenceFragment fragment)
The method, which is invoked, when the default values of the preferences, which belong to a
specific preference fragment, should be restored.
|
boolean onRestoreDefaultValuesRequested(PreferenceFragment fragment)
fragment - The fragment, whose preferences' default values should be restored, as an instance of
the class PreferenceFragmentboolean onRestoreDefaultValueRequested(PreferenceFragment fragment, Preference preference, java.lang.Object currentValue)
fragment - The fragment, the preference, whose default value should be restored, belongs to, as
an instance of the class PreferenceFragmentpreference - The preference, whose default value should be restored, as an instance of the class
PreferencecurrentValue - The current value of the preference, whose default value should be restored, as an
instance of the class Objectvoid onRestoredDefaultValue(PreferenceFragment fragment, Preference preference, java.lang.Object oldValue, java.lang.Object newValue)
fragment - The fragment, the preference, whose default value has been restored, belongs to, as
an instance of the class PreferenceFragmentpreference - The preference, whose default value has been restored, as an instance of the class
PreferenceoldValue - The old value of the preference, whose default value has been restored, as an
instance of the class ObjectnewValue - The new value of the preference, whose default value has been restored, as an
instance of the class Object