getItemViewType

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.

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

Parameters

item

The ThreadListItem to check the type of.


Returns a view type value based on the type of the given viewHolder.

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

Parameters

viewHolder

The BaseThreadListItemViewHolder to check the type of.