Android findViewbyId with a variant string

Viewed 7532
TextView textView1= (TextView) dialog.findViewById(R.id.textView1);

I d like to create something like this:

for (int i=0; i<100; i++) {
   TextView textView= (TextView) dialog.findViewById(R.id.textView+i);
}

how can i do that?

Leslie

1 Answers
Related