Hi again :)
I have a GestureListener and while it works perfect in another app of
mine within an extends Activity
I have problem now within an extends View.
public boolean onTouchEvent(MotionEvent me) { return
gestureScanner.onTouchEvent(me);}
@Override public boolean dispatchTouchEvent(MotionEvent me) {
gestureScanner.onTouchEvent(me);return super.dispatchTouchEvent(me);}
@Override public boolean onScroll(MotionEvent e1, MotionEvent e2,
float distanceX, float distanceY) { /* some calculation here */
return false;}
It jumps first in the dispatchTouchEvent, than onTouchEvent .. but
never in onScroll?!
Only when I make explicit "return true" in onTouchEvent. But that
brings other mess, because onScroll comes now to often called.
What could be the Problem (as it works fine that way in my app in
extends Activity?
Thanks always for your help...
Chris
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---