Added in API level 1

ExpandableListView.OnGroupClickListener

public static interface ExpandableListView.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(ExpandableListView parent, View v, int groupPosition, long id)

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

Public methods

onGroupClick

Added in API level 1
public abstract boolean onGroupClick (ExpandableListView parent, 
                View v, 
                int groupPosition, 
                long id)

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

Returns
boolean True if the click was handled