ContextMenu on TableLayout: how to get selected item position?

by Atif Gulzar » Mon, 25 Jan 2010 13:59:10 GMT


Sponsored Links
 I had the similar issue and solved it with a work around. In your table row
add a TextView and makes its visibility GONE and set its text as 0,1,2,4...
for respective rows. Add a single listener for each row. When some row is
clicked the listener will give you a clicked view. From this view get the
text view from this text view the index.





--
Best Regards,
Atif Gulzar

I  Unicode, zln 






>