I am developing an application which uses list view with check-boxes,consider there are 10 items on list-view items,And by default in that check boxes are checked,Until now every thing is working fine for me here is my problem,When I uncheck any check-box in list-view whole list-view need to be refresh.
I am developing an application which uses list view with check-boxes,consider there are 10
Share
Nikhil just keep in mind that defining a custom adapter is one time practice, once you define and understand it properly then you can customize any views like ListView, GridView, Gallery, Spinner. So go through the below answer properly.
For defining ListView with CheckBox (or any View), you have to define your own custom adapter. For defining custom adapter, follow below steps:
In your case,
1st step: (Define row xml file)
2nd & 3rd step: (Define custom adapter class)