Hi,

I want a view listen to both onClick and onFling, which means if I fling on 
it, onClick should not be activated, and vice versa.

However, onClick seems has a higher priority than onFling, and because 
fling also contains MotionEvent.ACTION_DOWN and MotionEvent.ACTION_UP (same 
as click), onClick is blocking onFling.


I've googled for quite a while, and found that this problem was asked by 
others, but not answered well, see the stackoverflow link below.
http://stackoverflow.com/questions/4249036/android-onclick-blocking-onfling


Could you give any hint? 


Cheers,
Wenshan

-- 
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

Reply via email to