onPreferenceChange

abstract fun onPreferenceChange(preference: Preference, newValue: Any): Boolean