expansionChanged

abstract fun expansionChanged(accordion: Accordion<T>, index: Int, expanded: Boolean)(source)

Called whenever an item is expanded/collapsed within an Accordion.

Parameters

accordion

with change

index

that changed

expanded

indicates whether index is expanded