Handling touch and motion eventssuggest change
A summary of some of the basic touch/motion-handling systems in the Android API.
Listener | Details | — | — | onTouchListener | Handles single touches for buttons, surfaces and more onTouchEvent | A listener that can be found in surfaces(e.g. SurfaceView). Does not need to be set like other listeners(e,g. onTouchListener) | onLongTouch | Similar to onTouch, but listens for long presses in buttons, surfaces and more.|
Found a mistake? Have a question or improvement idea? Let me know.
Table Of Contents