lib-manipulation/src/main/java/com/nhaarman/listviewanimations/itemmanipulation/swipedismiss/SwipeDismissAdapter.java
public void setDismissableManager(@Nullable final DismissableManager dismissableManager) {
        if (mDismissTouchListener == null) {
            throw new IllegalStateException("You must call setAbsListView() first.");
        }
        mDismissTouchListener.setDismissableManager(dismissableManager);
    }
public void setDismissableManager(@Nullable final DismissableManager dismissableManager) {
        if (mDismissTouchListener == null) {
            throw new IllegalStateException("You must call setAbsListView() first.");
        }
        mDismissTouchListener.setDismissableManager(dismissableManager);
    }
Sets the {@link com.nhaarman.listviewanimations.itemmanipulation.swipedismiss.DismissableManager} to specify which views can or cannot be swiped.

@param dismissableManager {@code null} for no restrictions.