I have written a custom class MyGallery which extends Gallery.
This enables me to override the onScroll() method of Gallery.

Now that I have done this, I have found that onScroll() behaves oddly.
When I scroll on the emulator, it activates the onScroll() method
multiple times - usually 2-4, sometimes 5 or more, and *never* just
once.  (I have determined this to be the case by simply placing a Log.v
() comment in my @Overridden onScroll() method.)

The multiple activations of onScroll() seems to be related to how long
I hold down the mouse button while scrolling, but like I said, it is
always more than one activation even for a "brief" scroll.

Does anybody know if this is "normal" or a bug?

thanks,
Jim
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to