Share via


PreferenceActivity.OnHeaderClick(PreferenceActivity+Header, Int32) Method

Definition

Called when the user selects an item in the header list.

[Android.Runtime.Register("onHeaderClick", "(Landroid/preference/PreferenceActivity$Header;I)V", "GetOnHeaderClick_Landroid_preference_PreferenceActivity_Header_IHandler")]
public virtual void OnHeaderClick (Android.Preferences.PreferenceActivity.Header? header, int position);
[<Android.Runtime.Register("onHeaderClick", "(Landroid/preference/PreferenceActivity$Header;I)V", "GetOnHeaderClick_Landroid_preference_PreferenceActivity_Header_IHandler")>]
abstract member OnHeaderClick : Android.Preferences.PreferenceActivity.Header * int -> unit
override this.OnHeaderClick : Android.Preferences.PreferenceActivity.Header * int -> unit

Parameters

header
PreferenceActivity.Header

The header that was selected.

position
Int32

The header's position in the list.

Attributes

Remarks

Java documentation for android.preference.PreferenceActivity.onHeaderClick(android.preference.Header, int).

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