onCreateGroupViewHolder

abstract fun onCreateGroupViewHolder(parent: ViewGroup, viewType: Int): GVH

Called from onCreateViewHolder when the list item created is a group

Return

A GVH corresponding to the group list item with the ViewGroup parent

Parameters

viewType

an int returned by getItemViewType

parent

the ViewGroup in the list for which a GVH is being created