onBindChildViewHolder

abstract fun onBindChildViewHolder(holder: CVH, flatPosition: Int, group: ExpandableGroup, childIndex: Int)

Called from onBindViewHolder(RecyclerView.ViewHolder, int) when the list item bound to is a child.

Bind data to the CVH here.

Parameters

holder

The CVH to bind data to

flatPosition

the flat position (raw index) in the list at which to bind the child

group

The ExpandableGroup that the the child list item belongs to

childIndex

the index of this child within it's ExpandableGroup