tags:

views:

29

answers:

1

I have a working dynamic TableLayout that holds user data. Clicking an "Add Event" button brings up a Dialog that allows the user to enter data. When the Dialog is dismissed, the entered data appears as a new row in the table.

Now, however, I am having trouble allowing the user to EDIT a given row in the table. It seems I need dynamic ID's to give each TableRow in order to allow edits. Is this possible?

A: 

You can use the setId() method that will allow you to assign an ID dinamically from your Java code.

Cristian