I have several layout elements which I want to process as an array, for example:
for (int j=0; j< N; j++)
((TextView)findViewById(R.id.groupStart+j)).setText(getRowText(j));
The problem is that Android doesn't understand ID definition like
android:id="@+id/groupStart+1"
Perhaps I can't find right syntax. I can assure certain IDs for element if I add them in a layout grammatically, but I want to define them in resource. I can't also edit R.java because it is automatically generated. Any recommendations?