다음을 통해 공유


ExpandableListView.IOnGroupClickListener.OnGroupClick Method

Definition

Callback method to be invoked when a group in this expandable list has been clicked.

[Android.Runtime.Register("onGroupClick", "(Landroid/widget/ExpandableListView;Landroid/view/View;IJ)Z", "GetOnGroupClick_Landroid_widget_ExpandableListView_Landroid_view_View_IJHandler:Android.Widget.ExpandableListView/IOnGroupClickListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool OnGroupClick (Android.Widget.ExpandableListView? parent, Android.Views.View? clickedView, int groupPosition, long id);
[<Android.Runtime.Register("onGroupClick", "(Landroid/widget/ExpandableListView;Landroid/view/View;IJ)Z", "GetOnGroupClick_Landroid_widget_ExpandableListView_Landroid_view_View_IJHandler:Android.Widget.ExpandableListView/IOnGroupClickListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnGroupClick : Android.Widget.ExpandableListView * Android.Views.View * int * int64 -> bool

Parameters

parent
ExpandableListView

The ExpandableListConnector where the click happened

clickedView
View
groupPosition
Int32

The group position that was clicked

id
Int64

The row id of the group that was clicked

Returns

True if the click was handled

Attributes

Remarks

Callback method to be invoked when a group in this expandable list has been clicked.

Java documentation for android.widget.ExpandableListView.OnGroupClickListener.onGroupClick(android.widget.ExpandableListView, android.view.View, int, long).

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