public T remove(int position){
  T removed=items.remove(position);
  notifyItemRemoved(position);
  return removed;
}

public T remove ( int position ) { T removed = items . remove ( position ) ; notifyItemRemoved ( position ) ; return removed ; }
removes an item from the list at a given position .
