How to Use String as a ResourceID in Android
<p>I've several <code>TextView</code>s or another component, doesn't matter. And the views have iteration ids like: <code>textView1, textView2, textView3</code> etc.</p>

<p>Simply I want to iterate ids by using <strong>pre-string</strong> values. </p>

<p>Psuedo example:</p>

<pre><code>String pre_value = "textView";

for(int i = 0; i &lt; size; i++) {

    String usable_resource_id = pre_value + Integer.toString(pre_value);
    // So how to use these id like R.id.textView1
    // Cast or something similar

}
</code></pre>

<p>Any suggestions?</p>
