How do I add view with id in android dynamically?
<p>Hello everyone i'm new to android and I would like to ask about a basic feature.</p>

<p>Suppose I have a TableLayout and I want to add some rows to it dynamically (from java code) so that each row will contain a checkbox that should has a unique ID (suppose row1, row2, etc..). I can't touch r.id at runtime, and the id I pick for the elements must be an integer, so how can I assure it's unique ? is there any way to add ID in form of a string (such as row1)?</p>

<p>Thanks in advance,
Christopher</p>
