android application/app/src/main/java/com/slensky/focussis/views/adapters/SelectableItemAdapter.java
public void selectView(int position, boolean value) {
        if (value)
            selectedItems.put(position, value);
        else
            selectedItems.delete(position);

        notifyDataSetChanged();
    }
//Put or delete selected position into SparseBooleanArray
Put or delete selected position into SparseBooleanArray
Put or delete selected position into SparseBooleanArray
public void selectView(int position, boolean value) {
        if (value)
            selectedItems.put(position, value);
        else
            selectedItems.delete(position);
        notifyDataSetChanged();
    }
public void selectView ( int position , boolean value ) { if ( value ) selectedItems . put ( position , value ) ; else selectedItems . delete ( position ) ; notifyDataSetChanged ( ) ; }
Put or delete selected position into SparseBooleanArray
Put or delete selected position into SparseBooleanArray