getFlattenedChildIndex

open fun getFlattenedChildIndex(packedPosition: Long): Int

Converts a child position to a flat list position.

Return

The flat list position for the given child

Parameters

packedPosition

The child positions to be converted in it's packed position representation.


Converts a child position to a flat list position.

Return

The flat list position for the given child

Parameters

listPosition

The child positions to be converted in it's ExpandableListPosition representation.


open fun getFlattenedChildIndex(groupIndex: Int, childIndex: Int): Int

Converts the details of a child's position to a flat list position.

Return

The flat list position for the given child

Parameters

groupIndex

The index of a group within groups

childIndex

the index of a child within it's ExpandableGroup