public interface

PreferenceManager.OnPreferenceTreeClickListener

 androidx.preference.PreferenceManager.OnPreferenceTreeClickListener

Subclasses:

PreferenceFragment, PreferenceFragmentCompat, BaseLeanbackPreferenceFragment, BaseLeanbackPreferenceFragmentCompat, LeanbackPreferenceFragment, LeanbackPreferenceFragmentCompat

Overview

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

Summary

Methods
public booleanonPreferenceTreeClick(Preference preference)

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

Methods

public boolean onPreferenceTreeClick(Preference preference)

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

Parameters:

preference: The preference that was clicked

Returns:

Whether the click was handled