0

I am displaying the check-box with Android List-view in the screen. Now I want to get the value of the list-item based on check-box selection. How can I do it?

MysticMagicϡ
  • 28,593
  • 16
  • 73
  • 124
  • ------------------------- [CB] TV TV ------------------------- – user1802043 Jan 23 '13 at 05:13
  • try this http://stackoverflow.com/questions/4141124/android-listview-checkbox-selection http://stackoverflow.com/questions/5417339/android-listview-with-checkbox-and-all-clickable http://stackoverflow.com/questions/9834723/checkbox-in-listview-for-multiple-selection-of-contacts – J.K Jan 23 '13 at 05:14

1 Answers1

1

Check out tutorial of listview with checkbox you will get the idea of getting the values of checked item. Link

GrIsHu
  • 29,068
  • 10
  • 64
  • 102
  • i am displaying the check box and list . i want get the value of the selected checkbox ? – user1802043 Jan 23 '13 at 05:22
  • You mean to say that your checkbox and listview both are separate from eachother and you want to get the value of the list based on the checkbox selection ? I am sorry but m confused with your question. Can you please brief out/ – GrIsHu Jan 23 '13 at 05:33
  • yes ur understanding is correct i want get the listvalue based on checkbox selection? – user1802043 Jan 23 '13 at 06:27
  • @user1802043 In checkBox state changed() change the value of the listItem – pvn Jan 23 '13 at 07:00