onTouchEvent() is all you need to implement scrolling. That's how we implemented scrolling in ListView and ScrollView. The "scroll" even is a MotionEvent with the action ACTION_MOVE.
On Sat, Jun 21, 2008 at 3:48 PM, Jeremy Villalobos <[EMAIL PROTECTED]> wrote: > How do you catch a scroll event ? > like a mouse-drag in other window frameworks > > I've being looking into this for hours and cannot figure it out. I got > onTouchEvent to work, but it is not good enought to do scrolling with it > I am inheriting View class to create a custom control. > > thanks for any help > > > > -- Romain Guy www.curious-creature.org --~--~---------~--~----~------------~-------~--~----~ 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] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

