Share via


ExpandableListActivity.OnChildClick Method

Definition

Override this for receiving callbacks when a child has been clicked.

[Android.Runtime.Register("onChildClick", "(Landroid/widget/ExpandableListView;Landroid/view/View;IIJ)Z", "GetOnChildClick_Landroid_widget_ExpandableListView_Landroid_view_View_IIJHandler")]
public virtual bool OnChildClick (Android.Widget.ExpandableListView? parent, Android.Views.View? v, int groupPosition, int childPosition, long id);
[<Android.Runtime.Register("onChildClick", "(Landroid/widget/ExpandableListView;Landroid/view/View;IIJ)Z", "GetOnChildClick_Landroid_widget_ExpandableListView_Landroid_view_View_IIJHandler")>]
abstract member OnChildClick : Android.Widget.ExpandableListView * Android.Views.View * int * int * int64 -> bool
override this.OnChildClick : Android.Widget.ExpandableListView * Android.Views.View * int * int * int64 -> bool

Parameters

parent
ExpandableListView

The ExpandableListView where the click happened

v
View

The view within the expandable list/ListView that was clicked

groupPosition
Int32

The group position that contains the child that was clicked

childPosition
Int32

The child position within the group

id
Int64

The row id of the child that was clicked

Returns

Implements

Attributes

Remarks

Override this for receiving callbacks when a child has been clicked.

To be added

Java documentation for android.app.ExpandableListActivity.onChildClick(android.widget.ExpandableListView, android.view.View, int, 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