I want to handle these 3 events : simple tap and pinch zoom and scroll in my surface view, is there any ready classes that can help me or i should do that manually in my OnTouchListener ?
Asked
Active
Viewed 43 times
0
-
You should do that manually on your touchlistener – Pedro Oliveira Sep 12 '14 at 17:30
-
https://github.com/pskink/android-gesture-detectors see how to use it in my answer here: http://stackoverflow.com/questions/21633545/android-imageview-scaling-and-translating-issue – pskink Sep 12 '14 at 17:52
-
thanks for replying, i tried before to do all the events on my OnTouchListener but i got some problems, can you give me an example of code that have more than one event on OnTouchListener ? – user3578321 Sep 12 '14 at 18:23
-
have you read my comment above? – pskink Sep 12 '14 at 18:33
-
yes, i read it doesn't contain pinch zoom and also i tried before something like that but the simple tap didn't worked – user3578321 Sep 12 '14 at 18:35
-
it does contain pinch zoom, translate and rotate all in one – pskink Sep 12 '14 at 18:41