MotionEvent.getPointerCount() is always 1

In my case, I realized that getPointerCount() was not changing because it was being called inside the MotionEvent.ACTION_DOWN action which meant it'd always be one.

The solution was to move it, either to MotionEvent.ACTION_MOVE if the pointer count is needed on move, either outside of the actions, to the onTouch implementation if the pointer count is needed once on touch. I hope this helps someone who may not have understood this as in my case.


The problem was that I was returning false in onTouch, therefore new touch events have not been generated.