Is there a way to create a new object from a MotionEvent object that extract only the X axis movement (gesture) ?
@Override
public boolean onTouchEvent(MotionEvent event) {
MotionEvent xMotionEvent = filterYMotion(event);
return super.onTouchEvent(xMotionEvent);
}
Thanks.