swipe icon indicating copy to clipboard operation
swipe copied to clipboard

How do I detect swipe?

Open eucliddelphi opened this issue 1 year ago • 1 comments

I can't detect swipe. These doen't work:

val actionsState = rememberSwipeableActionsState()

val offset by actionsState.offset // Doesn't change value. Always 0.0

actionsState.isResettingOnRelease // Doesn't change value. Always false

Thanks.

eucliddelphi avatar Jan 24 '24 10:01 eucliddelphi

Are you not receiving callbacks to SwipeAction#onSwipe for your actions?

saket avatar Jan 24 '24 17:01 saket