viewHolderCreator
var viewHolderCreator: (parent: ViewGroup, viewType: Int) -> CollectionItemRootHostHolder<out View, out CollectionItem<out View>>?
Factory function for creating CollectionItemRootHostHolder instances. This function is called by the adapter when a new view holder needs to be created. Must be set before the adapter starts creating view holders.
Return
A new CollectionItemRootHostHolder instance
Parameters
parent
The ViewGroup into which the new View will be added after it is bound to an adapter position
viewType
The view type of the new View, used to distinguish different item types