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.
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.
Create a free account to access the full topic