Udostępnij za pośrednictwem


PreferenceActivity.OnPreferenceTreeClick(PreferenceScreen, Preference) Method

Definition

Caution

deprecated

To be added

[Android.Runtime.Register("onPreferenceTreeClick", "(Landroid/preference/PreferenceScreen;Landroid/preference/Preference;)Z", "GetOnPreferenceTreeClick_Landroid_preference_PreferenceScreen_Landroid_preference_Preference_Handler")]
[System.Obsolete("deprecated")]
public virtual bool OnPreferenceTreeClick (Android.Preferences.PreferenceScreen? preferenceScreen, Android.Preferences.Preference? preference);
[<Android.Runtime.Register("onPreferenceTreeClick", "(Landroid/preference/PreferenceScreen;Landroid/preference/Preference;)Z", "GetOnPreferenceTreeClick_Landroid_preference_PreferenceScreen_Landroid_preference_Preference_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member OnPreferenceTreeClick : Android.Preferences.PreferenceScreen * Android.Preferences.Preference -> bool
override this.OnPreferenceTreeClick : Android.Preferences.PreferenceScreen * Android.Preferences.Preference -> bool

Parameters

preferenceScreen
PreferenceScreen
preference
Preference

Returns

Attributes

Remarks

To be added

This member is deprecated. This function is not relevant for a modern fragment-based PreferenceActivity.

Java documentation for android.preference.PreferenceActivity.onPreferenceTreeClick(android.preference.PreferenceScreen, android.preference.Preference).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to