lib-manipulation/src/main/java/com/nhaarman/listviewanimations/itemmanipulation/swipedismiss/undo/SwipeUndoTouchListener.java
@Override
    protected void performDismiss(@NonNull final View view, final int position) {
        super.performDismiss(view, position);

        mDismissedViews.add(view);
        mDismissedPositions.add(position);

        mCallback.onDismiss(view, position);
    }
@Override
    protected void performDismiss(@NonNull final View view, final int position) {
        super.performDismiss(view, position);

        mDismissedViews.add(view);
        mDismissedPositions.add(position);

        mCallback.onDismiss(view, position);
    }
@ Override protected void performDismiss ( @ NonNull final View view , final int position ) { super . performDismiss ( view , position ) ; mDismissedViews . add ( view ) ; mDismissedPositions . add ( position ) ; mCallback . onDismiss ( view , position ) ; }
Animates the dismissed list item to zero-height and fires the dismiss callback when all dismissed list item animations have completed.

@param view the dismissed {@link android.view.View}.
Animates the dismissed list item to zero - height and fires the dismiss callback when all dismissed list item animations have completed .