I think Romaine mentioned this a while back. Recycling views doesn't work with the Gallery. Fix targeted for Eclair.
On 9/23/09, MagouyaWare <[email protected]> wrote: > > Anyone? > > On Sep 21, 1:12 pm, MagouyaWare <[email protected]> wrote: >> I have an application on the market (AppSwipe!) that displays three >> Gallery views with icons of running apps, recent apps, and running >> processes. >> >> I have subclassed Gallery and modified the onFling method to add in >> the ability to swipe up on any given view in the gallery. >> >> Some users have been complaining about the Galleries being sluggish. >> After looking into it a little bit it, this is what is happening: >> >> - The app launches >> - On any of the gallery views, swiping left or right initially has >> some "hiccups" (it is not a smooth scroll) >> - After every item has been displayed on the screen at least once the >> "hiccups" are gone >> >> I assume this is because the Gallery View only stores information for >> what is currently displayed on the screen and that it also caches the >> information for items that have been viewed but are not currently >> visible (hence the smoothness after scrolling through everything). >> >> I could not find anything in the SDK docs or the Dev Guide. The >> adapter is a very simple extension of BaseAdapter... Not very >> different from the Gallery example in the Dev Guide. >> >> Is there any way to improve this? >> >> Thanks in advance, >> Justin > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" 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-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

