The error is telling you that you didn't fully implement the OnPreferenceChangeListener
interface. In particular, the onPreferenceChange
method is not implemented.
Either implement this method, or I'm actually guessing you meant OnPreferenceChange
to be onPreferenceChange
- note the lowercase "o" - (in which case I believe you will also need a @Override
before it)