开发者

Dynamic TableLayout with ID's?

I have a working dynamic TableLayout that holds user data. Clicking an "Add Event" button brings up a Dialog that allows the user t开发者_Go百科o 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?


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜