I'm new to android and trying to learn intercept touch events handling using this documentation, but i do not understand that calculateDistanceX(MotionEvent)
method at all, and the more I searched about it the less i found. I'm completely confused.
Could anyone please explain it to me?
Thanks in advance.