How to create findViewById parm dynamically or programmatically at runtime
<p>I have an xml layout that will display a grid made up of textviews within tablerows.  The textview names are cell00, cell01, etc.  At runtime, my program will determine which cell needs to be changed.  </p>

<p>Is there a way get format a name so that it can be passed to the findViewById method at runtime?  For example, if cell00 is needed, how can I generate the parm in this code?</p>

<pre><code>TextView currcell = (TextView) findViewById(R.id.cell00) 
</code></pre>

<p>Something like “cell”+00 doesn’t compile because the findViewById method doesn’t accept a String type.  I don’t want have every textview name in the grid hardcoded in the program – there must be a better way. </p>

<p>Thank you for any help you can provide.</p>
