public interface PreferenceListener
Preferences
Modifier and Type | Method and Description |
---|---|
void |
preferenceChanged(String pref,
Object priorValue,
Object revisedValue)
Respond to a change in the Preference.
|
void preferenceChanged(String pref, Object priorValue, Object revisedValue)
pref
- The preference keypriorValue
- The value prior to the changerevisedValue
- The new value, which is guaranteed to be different from priorValue