I have an array integer and I need to associate this value with a certain button, to change its backgound. if there is a "40" in the array, I need the "40" button to change color. and so on until the entire array is checked. Basically, what I need is to associate a variable with an ID.
Type: Button (X) .setBackgroundColor (Color.BLUE); Being X an INT variable