ThreadListItemViewHolderFactory
Factory responsible for creating ViewHolder instances for the RecyclerView used in the io.getstream.chat.android.ui.feature.threads.list.ThreadListView.
Functions
Link copied to clipboard
open fun createViewHolder(parentView: ViewGroup, viewType: Int): BaseThreadListItemViewHolder<out ThreadListItem>
Creates a new ViewHolder based on the provided viewType to be used in the Thread List. The viewType parameter is determined by getItemViewType.
Link copied to clipboard
Returns a view type value based on the type of the given item. The view type returned here will be used as a parameter in createViewHolder.
Returns a view type value based on the type of the given viewHolder.