PlaceHolderView: Undo is not working

Hi! I have the following setup:

mCardsContainer.builder`
                .setDisplayViewCount(1)
                .setSwipeDecor(SwipeDecor()
                        .setPaddingTop(10)
                        .setRelativeScale(0.01f))

        mCardsContainer.disableTouchSwipe()

For SwipePlaceHolderView. When I’m doing the mCardsContainer.undoLastSwipe() nothing happens at all. Is this because of disableTouchSwipe?

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 29 (14 by maintainers)

Most upvoted comments

@mwshubham Don’t change the existing SwipePlaceHolderView but extend it just like the SwipeDirectionalView and add this functionality in that new class.