I\'ve several TextViews or another component, doesn\'t matter. And the views have iteration ids like: textView1, textView2, textView3 etc.
TextView
textView1, textView2, textView3
Simp
You can use Resources#getIdentifier() to get the identifier from a string.
But if you are going to iterate over them, wouldn't it be easier to keep the ids in an array or a list?