code: public void dismiss(final int position) {
          if (mSwipeTouchListener != null) {
              if (mSwipeTouchListener instanceof SwipeDismissTouchListener) {
                  ((SwipeDismissTouchListener) mSwipeTouchListener).dismiss(position);
              } else {
                  throw new IllegalStateException("Enabled swipe functionality does not support dismiss");
              }
          }
      }
docs: Dismisses the {@link android.view.View} corresponding to given position.
  Calling this method has the same effect as manually swiping an item off the screen.
  <p/>
  This method does nothing if no swipe functionality is enabled.
  It will however throw an exception if an incompatible swipe functionality is enabled.
  
  @param position the position of the item in the {@link android.widget.ListAdapter}. Must be visible.
  
  @throws java.lang.IllegalStateException if the {@link com.nhaarman.listviewanimations.itemmanipulation.swipedismiss.SwipeTouchListener}
  that is enabled does not extend {@link com.nhaarman.listviewanimations.itemmanipulation.swipedismiss.SwipeDismissTouchListener}.