Added in API level 1

OnGroupExpandListener


interface OnGroupExpandListener
ExpandableListActivity

An activity that displays an expandable list of items by binding to a data source implementing the ExpandableListAdapter, and exposes event handlers when the user selects an item.

Used for being notified when a group is expanded

Summary

Public methods
abstract Unit
onGroupExpand(groupPosition: Int)

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

Public methods

onGroupExpand

Added in API level 1
abstract fun onGroupExpand(groupPosition: Int): Unit

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

Parameters
groupPosition Int: The group position that was expanded