What's the difference?
Straight from the docs:
click fired when the device detects a click (longer than touch) against the view
If you are making an app for mobile, never use click, use singletap.
The reason being that if you want to bind a click and a dblclick on the same view, the app won't make the difference between two single clicks and a dblclick. so:
- touching the screen twice will result in launching once the function bound to click and launching once the function bound to dblclick)
On the other hand, and as things should be done, if you listen to singletap and doubletap on the same view:
- touching the view once will launch the function bound to the singletap event.
- touching the view twice will launch the function bound to the doubletap event
remember: don't listen to 'click type' event in your mobile app, this will avoid you some problem