A question about setting TextView ID's in Android
Posted on 2011-03-18
I made a dynamic table that expands/contracts according to the data received, and it has two TextViews in each row.
What I'm trying to do is, when a person clicks a row or textview, it would send the ID of the value clicked, rather than the value itself, and the ID is a value from the database that cannot be displayed on the screen.
I have tried variations of the following method... assigning the value of the ID to another variable and us it as the id of the TextViews, but none of the variations worked... and the program just crashed, or it just didn't respond.
Can anyone help me out?
Thanks in advance!