Added in API level 1

OnGroupClickListener


interface OnGroupClickListener
android.widget.ExpandableListView.OnGroupClickListener

Interface definition for a callback to be invoked when a group in this expandable list has been clicked.

Summary

Public methods
abstract Boolean
onGroupClick(parent: ExpandableListView!, v: View!, groupPosition: Int, id: Long)

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

Public methods

onGroupClick

Added in API level 1
abstract fun onGroupClick(
    parent: ExpandableListView!,
    v: View!,
    groupPosition: Int,
    id: Long
): Boolean

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

Parameters
parent ExpandableListView!: The ExpandableListConnector where the click happened
v View!: The view within the expandable list/ListView that was clicked
groupPosition Int: The group position that was clicked
id Long: The row id of the group that was clicked
Return
Boolean True if the click was handled