https://kotlinlang.org logo
#compose
Title
# compose
m

Marcin Środa

02/26/2021, 9:20 AM
Hey! Does anyone knows how to replace
pressIndicatorGestureFilter
? Looks like I should use
Modifier.pointerInput
with
detectTapGestures
, but how to handle press / cancel / stop states?
onTap
souds good, but how and where should I check for
PressGestureScope.tryAwaitRelease
and
PressGestureScope.awaitRelease
?
nvm,
onPress
is the answer 🙂
6 Views