invert color recyclerview android kotlin code example
Example: invert color recyclerview android kotlin
var color = "#CCCCCC"
if(position % 2==0){
color = "#FFFFFF"
}
holder.contactlist1.setBackgroundColor(Color.parseColor(color))
}