Answers for "invert color recyclerview android kotlin"

0

invert color recyclerview android kotlin

var color = "#CCCCCC"
        if(position % 2==0){
            color = "#FFFFFF"
        }
        holder.contactlist1.setBackgroundColor(Color.parseColor(color))

    }
Posted by: Guest on March-09-2021

Code answers related to "invert color recyclerview android kotlin"

Browse Popular Code Answers by Language