janishar / PlaceHolderView

This library provides advance views for lists and stacks. Some of the views are build on top of RecyclerView and others are written in their own. Annotations are compiled by annotation processor to generate bind classes. DOCS -->
http://janishar.com/PlaceHolderView
Apache License 2.0
2.11k stars 369 forks source link

SwipeCancelState called when dragging a clickable view..Disables further interaction #159

Open joncolon opened 5 years ago

joncolon commented 5 years ago

I'm using SwipePlaceHolderViews to display questions in a trivia app. Swiping is disabled, but when a user drags a button on the SwipePlaceHolderView, SwipeCancelState is called and prevents further interaction with the view. This essentially ends the game.

I was able to recreate this issue in the Tinder Swipe Kotlin example by:

No toast was shown after SwipeCancelState was called.

Otherwise, I am completely in love with this library! Any advice on how to handle this scenario?

Thanks!