Support for isDoublePressing() #99
zjwhitehead
started this conversation in
Ideas
Replies: 1 comment
-
I think you can accomplish this by listening to 2 events:
Start your countdown upon kEventPressed. You probably need to listen for kEventReleased to stop your countdown. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'd like to have a countdown on the screen as the user is holding down a button to activate a feature.
I currently have the
setLongPressDelay
to a few seconds.Is there a way to expose "progress" to let the user know:
Perhaps there is a simpler way of accomplishing this but it seems like a useful feature for this lib.
Beta Was this translation helpful? Give feedback.
All reactions