Code example for Preference.OnPreferenceChangeListener

Methods: onPreferenceChange

        return true; 
    updatePreferenceSummary(preference, options, values, summaryId, value, summarizer);
    if (listener != null) {
      listener.onPreferenceChange(preference, value);
    //return new UpdateSummaryCaller(preference, options, 
     //  values, summaryId, 
       // summarizer); 
   * Updates a preference when a stored value changes. 
   * @param preference the preference 
   * @param options the list of displayed options 
   * @param values the list of stored values 
   * @param summaryId the summary id 
Contextual code suggestions in your IDE  Get Codota for Java