Is it possible to allow the user to touch the screen only once?
Meaning: A user touches the screen and if he tries to touch the screen again nothing will happen. I am implementing the approach using canvas
to draw the objects on the screen.
Thank you in advance!
From what you have in mind, setClickable() or onTouchEvent would be the best way to go.
Have a look on this reference:
Responding to Touch Events
Disable All Touch Screen Interactions While Animation
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With