How to handle press down and up events?
# compose
r
How to handle press down and up events?
z
see
Modifier.pointerInput
today i learned 1
r
I need to handle long press and release event
z
You can handle any and all press events using
pointerInput
r
I found onLongPress via detectTapGestures but how to handle when long press is released?
c
I know there's clickable... wasn't there a longClickable added or something?
r
I managed it with
detectDragGesturesAfterLongPress
today i learned 1
I want to implement facebook like reaction animation. When a user long presses a like component an animation will appear but when user releases it must disappear