question: public void removePositions ( Collection < Integer > positions ) { ArrayList < Integer > positionsList = new ArrayList < Integer > ( positions ) ; Collections . sort ( positionsList ) ; Collections . reverse ( positionsList ) ; for ( int position : positionsList ) { mItems . remove ( position ) ; } notifyDataSetChanged ( ) ; }
target:  Removes all elements at the specified positions in the list