Added in API level 1

OnGroupCollapseListener


interface OnGroupCollapseListener
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 collapsed

Summary

Public methods
abstract Unit
onGroupCollapse(groupPosition: Int)

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

Public methods

onGroupCollapse

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

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

Parameters
groupPosition Int: The group position that was collapsed