Android Single And Multiple Touch Event Example

Android provides single and multiple touch support. If you want to respond to the touch event, you must create an instance of the android.view.View.OnTouchListener and override it’s onTouch(View view, MotionEvent motionEvent) method. Then register the listener to the view object use the view’s setOnTouchListener method.