public void remove(T object){
  final int position=getPosition(object);
  mObjects.remove(object);
  notifyItemRemoved(position);
}

public void remove ( T object ) { final int position = getPosition ( object ) ; mObjects . remove ( object ) ; notifyItemRemoved ( position ) ; }
removes the specified object from the array .
