code: public void setDismissableManager(@Nullable final DismissableManager dismissableManager) {
          if (mSwipeUndoTouchListener == null) {
              throw new IllegalStateException("You must call setAbsListView() first.");
          }
          mSwipeUndoTouchListener.setDismissableManager(dismissableManager);
      }
docs: 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.