public void remove(int position) throws IndexOutOfBoundsException {
synchronized (lock) {
    items.remove(position);
  }
  itemPositionChangeChecked=new SparseBooleanArray(items.size());
  notifyDataSetChanged();
}

public void remove ( int position ) throws IndexOutOfBoundsException { synchronized ( lock ) { items . remove ( position ) ; } itemPositionChangeChecked = new SparseBooleanArray ( items . size ( ) ) ; notifyDataSetChanged ( ) ; }
removes the specified item from the array .
