lightbulb_outline Please take our October 2018 developer survey. Start survey
added in version 24.1.0
belongs to Maven artifact com.android.support:preference-v7:28.0.0-alpha1

PreferenceManager.OnPreferenceTreeClickListener

public static interface PreferenceManager.OnPreferenceTreeClickListener

android.support.v7.preference.PreferenceManager.OnPreferenceTreeClickListener
Known Indirect Subclasses


Interface definition for a callback to be invoked when a Preference in the hierarchy rooted at this PreferenceScreen is clicked.

Summary

Public methods

abstract boolean onPreferenceTreeClick(Preference preference)

Called when a preference in the tree rooted at this PreferenceScreen has been clicked.

Public methods

onPreferenceTreeClick

added in version 24.1.0
boolean onPreferenceTreeClick (Preference preference)

Called when a preference in the tree rooted at this PreferenceScreen has been clicked.

Parameters
preference Preference: The preference that was clicked.

Returns
boolean Whether the click was handled.