I want to make a view where I can select multiple items from listview and also side by side am changing the color of selected list item and saving that item into my arraylis
A correction about the answer given by @JasonRobinson:
if(selectedIds.contains(pos) { selectedIds.remove(pos); -> **selectedIds.remove(selectedIds.indexOf(pos));** } else { selectedIds.add(pos); }