ExpandableListActivity.OnChildClick Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
ExpandableListView: The ExpandableListView where the click happened
- v
- View
View: The view within the expandable list/ListView that was clicked
- groupPosition
- Int32
int: The group position that contains the child that was clicked
- childPosition
- Int32
int: The child position within the group
- id
- Int64
long: The row id of the child that was clicked
Returns
True if the click was handled
Implements
- Attributes
Remarks
Override this for receiving callbacks when a child has been clicked. Callback method to be invoked when a child in this expandable list has been clicked.
Android reference for android.app.ExpandableListActivity.onChildClick.
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.