I have an activity which have a button and a listview(with chechbox, image and text).
I am Making the listview from the customAdapter class which extends the BaseAdapter class.
I am handling checkboxes in that customAdapter class.
Now my problem is that how to know that which item is checked and how to perform action on
that checked listItems.Because my button is in the activity but i need to perfom that onClickListener in that customadapter class
??
Thanks for help.
You would put the Button click listener inside of your GetView() method, where you inflate the view for each row in your list.
For the checkbox items you would do the same..it would look something like this in your getview()