Loop through numerous variables
<p>I have 48 variables (TextViews), like tv1, tv2, tv3, tv4...tv48.</p>

<p>I want to set a value for these variables, with a for loop, since I do not want to write down the same row 48 times.</p>

<p>Something like this:</p>

<pre><code>for (int i=1; i&lt;49; i++)
{
        "tv"+i.setText(i);
}
</code></pre>

<p>How to achieve this?</p>
