0

I am making an app which required my checkboxes to be checked at once when i check the main checkbox. I am using one normal checkbox widget which i am hoping will work as my main checkbox and i am also using LIST of multiple choice(simple_list_item_multiple_choice). Now i want to check all these listview's checkbox when i check my main checkbox.

I am stuck at this part :( please help!!!!

Thanks, Varundroid.

Varundroid
  • 9,135
  • 14
  • 63
  • 93
  • Please search SO before posting new questions. [Here is exactly what you want to accomplish](http://stackoverflow.com/questions/4689976/checking-multiple-checkboxes-in-android). – Mudassir Mar 28 '11 at 09:30
  • No Mudassir it isn't what i am exactly looking for but Aswan gave me what i was really looking for and i will keep your advise in mind while posting question next time. Thanks. – Varundroid Mar 28 '11 at 10:23

1 Answers1

0

following link is useful to you

Correct way to check all checkboxes in ListView?

Community
  • 1
  • 1
Aswan
  • 5,085
  • 10
  • 46
  • 70
  • Thanks Aswan it is really what i was looking for but after trying this i am getting NullPointerException. :( – Varundroid Mar 28 '11 at 10:24
  • Ok finally i did it. i removed that exception and now i am able to select and unselect all the checkboxes. Thanks Aswan. :-) – Varundroid Mar 28 '11 at 11:19