Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

PreferenceManager.OnPreferenceTreeClickListener

public static interface PreferenceManager.OnPreferenceTreeClickListener

androidx.preference.PreferenceManager.OnPreferenceTreeClickListener


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

public abstract 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