getItemViewType

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.

For built-in view types, see MessageListItemViewType and its constants.


Returns a view type value based on the type of the given viewHolder. The view type returned here will be used in MessageListItemAdapter.onBindViewHolder to check if the ViewHolder is of the correct type before binding the item.

For built-in view types, see MessageListItemViewType and its constants.