onBindGroupViewHolder

abstract fun onBindGroupViewHolder(holder: GVH, flatPosition: Int, group: ExpandableGroup)

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

Bind data to the GVH here.

Parameters

holder

The GVH to bind data to

flatPosition

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

group

The ExpandableGroup to be used to bind data to this GVH