I have 50 list item in the list. Now i have checked 10 item, so how to this 10 checked item delete(remove) from the listview when I click delete button.
Here is My C
I think you problem does not need any big amount of code.You need just a concept.Answer Given above is best way of doing that.
I am assuming i got ids which are selected. now simply arrayList.remove(position);
and call notifyDataSetChanged();
As List view sub child(CheckBox) can use setOnCheckChangesListener in base Adapter class directly.Now you just have to keep track record of check checkbox and their corresponding position in ArrayList.Now when you click on delete btn then remove element from arraylist and call notifyDataSetChanged()