Dynamically changing TextViews with a for loop
<p>I am trying to change the values of several TextView elements but iterating through an array list and adding these values. However I can't seem to find a way to change the R.id value that is used each time. For example:</p>

<pre><code>for (int i=0; i&lt;arrayList.size(); i++)
{
    TextView t = (TextView) dialog.findViewById(R.id.value+(i));
    t.setText(arrayList.get(i));
}
</code></pre>

<p>Where the values are in the format animals_eng1,animals_eng2 etc..
Any help appreciated.</p>
