/** * Sets the {@link com.nhaarman.listviewanimations.itemmanipulation.swipedismiss.DismissableManager} to specify which views can or cannot be swiped. * <p/> * This method does nothing if no swipe functionality is enabled. * * @param dismissableManager {@code null} for no restrictions. */ public void setDismissableManager(IDismissableManager dismissableManager) { if (mSwipeTouchListener != null) { mSwipeTouchListener.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. */ public void setDismissableManager(IDismissableManager dismissableManager) { if (mSwipeUndoTouchListener == null) { throw new Java.Lang.IllegalStateException("You must call setAbsListView() first."); } mSwipeUndoTouchListener.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. */ public void setDismissableManager(IDismissableManager dismissableManager) { mDismissableManager = dismissableManager; }