Counterpart

Report a typo

As you know, there is no relative counterpart of ViewHolder.itemViewType. Write a line that can simulate that behavior.

Note that you are inside the RecyclerView.Adapter scope and provided with viewHolder: ViewHolder.

Enter a short text
___

Create a free account to access the full topic