open class ChannelListItemViewHolderFactory


Link copied to clipboard
fun ChannelListItemViewHolderFactory()


Link copied to clipboard
open fun createViewHolder(parentView: ViewGroup, viewType: Int): BaseChannelListItemViewHolder

Creates a new ViewHolder to be used in the Message List. The viewType parameter is determined by getItemViewType.

Link copied to clipboard
open fun getItemViewType(item: ChannelListItem): Int

Returns a view type value based on the type and contents of the given item. The view type returned here will be used as a parameter in createViewHolder.