SwipeRevealLayout icon indicating copy to clipboard operation
SwipeRevealLayout copied to clipboard

Swipe and LongClick

Open afaucogney opened this issue 7 years ago • 2 comments

I use the lib in a project where list items need to handle

  • swipe right
  • click
  • long-click

The behavior is almost ok, but I still have an issue on usability between the longclick and the swipe events. Actually, if the finger is put on the item to perform a longclick event, this is very often the swipe event that is taken into account.

Are you aware of this behavior ? I make a try with setMinFlingVelocity, but nothing really changed.

Looking at Gmail app, it seems it runs with a kind of horizontal offset before the swipe event is taken into account. Is there any way to do that with the lib ?

afaucogney avatar Jan 18 '17 13:01 afaucogney

The same problem here, do you found a solution @afaucogney ?

sillych avatar Sep 01 '17 06:09 sillych

@sillych I change the lib to https://github.com/daimajia/AndroidSwipeLayout. Doc is not uptodate, but it does well support recyclerview. I get no issues with it.

afaucogney avatar Sep 01 '17 14:09 afaucogney