Skip to content Skip to sidebar Skip to footer

How To Use Dispatchtouchevent?

How can I call an onTouch method programmatically by dispatching a fake touch event?

Solution 1:

You can try calling yourView.dispatchTouchEvent(MotionEvent.obtain);


Post a Comment for "How To Use Dispatchtouchevent?"