SwipeToAction icon indicating copy to clipboard operation
SwipeToAction copied to clipboard

*** WARNING: This library is no longer maintained *** An easy way to add a simple 'swipe-and-do-something' behavior to your `RecyclerView` items. Just like in Gmail or Inbox apps.

Results 12 SwipeToAction issues
Sort by recently updated
recently updated
newest added

Sometimes I get this error when I am scrolliing. Here is stacktrace: java.lang.IllegalArgumentException: pointerIndex out of range at android.view.MotionEvent.nativeGetAxisValue(Native Method) at android.view.MotionEvent.getX(MotionEvent.java:2069) at co.dift.ui.SwipeToAction$1.onTouch(SwipeToAction.java:91) at android.view.View.dispatchTouchEvent(View.java:7784) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2210) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1945)...

As "compile" is going to be deprecated end-2018, this PR replaces with "implementation" that is the new usage.

@Override public void onClick(VisitList itemData) { } where i can get clicked position?

When I scroll fast , automatically some items are swipes left right

your lib is so goooood!! thx..!! but i want customized durations private static final int SWIPE_ANIMATION_DURATION = 300; private static final int RESET_ANIMATION_DURATION = 500; private static final int REVEAL_THRESHOLD...

Does not hide content of other 2 layouts while you are on the third layout.

Is it possible use context menu for? Now if I registrate Context menu - List is not swipable and crashes after movements

3/10. Deleting many items, adding new one. New item appears at "reveal-right" state After deleting item ViewHolder should be invalidated.

Previously if we added a button with its `setOnClickListener` it will crash if we attempt to swipe (left or right) by starting with our finger directly over the button. Although...

how to use your lib in multi item type recyclerview??