I have one simple_list_item_multiple_choice listview in my layout and i am trying to remove all the selected items from it. I know how to delete it but i am
for(int i = size-1 ; i >= 0; i--) { if(checkedPositions.valueAt(i)) { list.remove(checkedPositions.keyAt(i)); //lv.setItemChecked(checkedPositions.keyAt(i),false); } } notes.notifyDataSetChanged();