yuyakaido / CardStackView

📱Tinder like swipeable card view for Android
Apache License 2.0
2.36k stars 448 forks source link

Directon LEFT is not working #302

Open navneetboghani opened 4 years ago

navneetboghani commented 4 years ago

Hello I would like to add a dislike button which has left direction but I can not handle it. I followed to same instructions in sample application but I don't know why, it is not working (it swipes to the right). Can you help me?

SwipeAnimationSetting swipeAnimationSetting= new SwipeAnimationSetting.Builder() .setDirection(Direction.Left) .setDuration(Duration.Normal.duration) .setInterpolator(new AccelerateInterpolator()) .build(); manager.setSwipeAnimationSetting(swipeAnimationSetting); cardStackView.swipe();

tangiable commented 4 years ago

hi did you get a resolution to this problem? I am facing the same issue, wherein setting only Direction.Left to the manager continues to allow swiping in all directions.

Wersar commented 4 years ago

It's work for me