What is the best solution if I want to make a OnTouch event repeat itself?
For example if I hold my finger on the screen I want an integer to increase by 1 until I remove my finger from the screen?
EDIT: Thanks for your replies 🙂
Can I do it in a similiar way for handling canvas?
Create a timer, that is scheduled to run every second. Keep it running and increment your counter at each run. Stop the timer when the finger is released.