Java – onfling and multitouch – multiple motionevent pointers
•
Java
I want to use motionevent in onfling() of simplegestuuredetector Getpointercount () to implement some logic, but no motionevent is passed to onfling. Com, which contains any pointer information In addition, onfling. Is not even called when multiple touch pointers are involved What should I do? Is there a solution? help!
Solution
As far as I know, the simple ongesturelistener provided by Android system does not support multi touch events You must implement ontouchlistener to detect it yourself
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码