Basically I want a list view(CheckBox and TextView) that has all the data from a database but the first item in the view always being “ALL”.I have done loading listadapter but i don’t know how to add first row as All.
If I am clicking All checkebox.I want to other checkbox’s state as false.
my code as follow..
Basically I want a list view(CheckBox and TextView) that has all the data from
Share
Why don’t you do it like this?
You get position in
getview(), then for the first item add condition. Something like this:That’s it.