I am new to android first of all so think of any newbie mistakes first
I am trying to add a fling function in my code.
public class MainGamePanel ext
onDown
is called before the onFling
event.
If you return false in onDown
method, the motion event propagation will stop.
Try to change return false
in return true
at the end of onDown
method.
The return values are explained, somewhat obtusely, in the Input Events page of the Dev guide. (scroll down below the example code to see).