Open CodePlayer7 opened 8 years ago
in onItemClear of the ViewHolder, better to add if (getAdapterPosition() > -1) itemview. setBackgroundColor(color); Just in case someone like me want to use different color according to adapter position.
in onItemClear of the ViewHolder, better to add if (getAdapterPosition() > -1) itemview. setBackgroundColor(color); Just in case someone like me want to use different color according to adapter position.