Hello Guys, in the detectTapGestures function for ...
# compose-android
s
Hello Guys, in the detectTapGestures function for compose, if we are listening to two events like onTap and onPress, it seems anytime the user presses on the screen and lifts their finger(I understand that the onPress callback is triggered) the onTap callback is triggered, instead of only onPress, and vice versa. My question is that, is there any refined or out of the box way to make the onTap gesture stop getting triggered when we call the onPress(and the user lifts their finger) and vice versa?
I resorted to using awaitEachGesture instead to get precise control of when the user quickly taps on the screen or holds down their finger