getFlattenedGroupIndex

Return

the index of a group within the getVisibleItemCount

Parameters

listPosition

representing either a child or a group


open fun getFlattenedGroupIndex(groupIndex: Int): Int

Return

the index of a group within the getVisibleItemCount

Parameters

groupIndex

representing the index of a group within groups


Return

the index of a group within the getVisibleItemCount or 0 if the groups.indexOf cannot find the group

Parameters

group