Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to select table row by clicking

 
sam liya
Ranch Hand
Posts: 1243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have app for manage team members.when i am adding members to team it shows in a table.below is the code.I need to delete the members one by one.I need to select the one row and need to delete one by one.How can i do this?I select 2.33 as Android minimum SDK.



below is the xml file

 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Either add a button in each row to delete that particular row, or listen to clicks on a row and then offer the user a choice of what to do (like edit, delete, whatever else is appropriate).
 
sam liya
Ranch Hand
Posts: 1243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to listen click on row?
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How would you listen to clicks on other UI elements? If you don't know, how can you find out in general what listeners you can add to some UI element?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic