You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use a chart inside the rotate-layout.
It works well with touch and drag. But it does not with multitouch (pinch to zoom), it works like if it isn't rotate.
I cloned the repo to fix it myself, but I was not able to compile it (I lost two hours trying to do it)
I think that the problem is that in dispatchTouchEvent() is modified only one pointer (the first).
The solution should be to modify all positions, but since the MotionEvent does not have methods to do that, a new MotionEvent must be created. Check this solution
The text was updated successfully, but these errors were encountered:
I use a chart inside the rotate-layout.
It works well with touch and drag. But it does not with multitouch (pinch to zoom), it works like if it isn't rotate.
I cloned the repo to fix it myself, but I was not able to compile it (I lost two hours trying to do it)
I think that the problem is that in dispatchTouchEvent() is modified only one pointer (the first).
The solution should be to modify all positions, but since the MotionEvent does not have methods to do that, a new MotionEvent must be created. Check this solution
The text was updated successfully, but these errors were encountered: