ThreadListItemViewHolderFactory

Factory responsible for creating ViewHolder instances for the RecyclerView used in the io.getstream.chat.android.ui.feature.threads.list.ThreadListView.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

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.