Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

# ExpandableListView.OnGroupClickListener

*** ** * ** ***


`
public
static


interface
ExpandableListView.OnGroupClickListener
`


`


`

|---|
| android.widget.ExpandableListView.OnGroupClickListener |

<br />

*** ** * ** ***

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

## Summary

| ### Public methods ||
|---|---|
| ` abstract boolean` | ` https://developer.android.com/reference/android/widget/ExpandableListView.OnGroupClickListener#onGroupClick(android.widget.ExpandableListView,%20android.view.View,%20int,%20long)(https://developer.android.com/reference/android/widget/ExpandableListView parent, https://developer.android.com/reference/android/view/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](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
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.

<br />

| Parameters ||
|---|---|
| `parent` | `ExpandableListView`: The ExpandableListConnector where the click happened <br /> |
| `v` | `View`: The view within the expandable list/ListView that was clicked <br /> |
| `groupPosition` | `int`: The group position that was clicked <br /> |
| `id` | `long`: The row id of the group that was clicked <br /> |

| Returns ||
|---|---|
| `boolean` | True if the click was handled <br /> |