Android Question Array of views

pazzokli

Active Member
Licensed User
Longtime User
Hi, in my layout I've 24 buttons that must do the same action when I click on it (change color for ex)
I should create 24 sub ("button-name_click") with the same code inside it.
There is a smart way? Similar to array in the old VB6 (button(x).color=RED)

Thanks
 
Top