Interface PreferenceListener


public interface PreferenceListener
Respond to changes to the Preferences
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    preferenceChanged(String pref, Object priorValue, Object revisedValue)
    Respond to a change in the Preference.
  • Method Details

    • preferenceChanged

      void preferenceChanged(String pref, Object priorValue, Object revisedValue)

      Respond to a change in the Preference. This method is only called if the value has changed.

      Parameters
      • pref: The preference key

      • priorValue: The value prior to the change

      • revisedValue: The new value, which is guaranteed to be different from priorValue