I am trying to loop through a set of ImageViews to add listeners, I cant remember how to loop through and add a number within the text?
for(int i = 0; i<8; i++)
{
//convert to text and add number?
block(i).setOnClickListener(ActivityCheck);
}
you can iterate through the controls in a
LinearLayout(and other layouts that extendViewGroup) this way: