getItemViewType

open fun getItemViewType(position: Int): Int

Return the view type of the MessageViewHolder at position for the purposes of view recycling.

Return

integer value identifying the type of the view needed to represent the item at position.

See also

Parameters

position

position to query