What is the difference between a view\'s onTouchEvent
:
public class MyCustomView extends View {
// THIS :
@Override
public boolean on
I am not sure if you had found your answer. But I found related questions similar to yours.
"onTouch works everywhere you want (whether it is in activity or view) as long as you have declared the interface and put the Listener right! On the other hand, onTouchEvent only works inside a View!"
For scrolling and zooming functionality, I guess onTouchListener will be enough to complete both function (and many more like rotation etc).