public void animateDismiss(int position){
  animateDismiss(Arrays.asList(position));
}

public void animateDismiss ( int position ) { animateDismiss ( Arrays . asList ( position ) ) ; }
animate dismissal of the item at given position .
