Hey Mark Yeah there is a bug report logged this is targeting 1.5 I should mention the bug report was sent but for the life of me I can't find it but Roman did mention it here http://groups.google.com/group/android-beginners/browse_thread/thread/6771cf9a27d848b8 for anyone else with a similar issue in the end I have dropped the thumbnail size of the images down and limited the number on Gallery to 20 but be aware the null check on the recycled view is redundant as it is always going to be null until a fix is placed.
Aha! Just found the bug report just before posting http://code.google.com/p/android/issues/detail?id=3376&q=Gallery%20view&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars Tom On Jan 11, 9:58 pm, Mark Wyszomierski <[email protected]> wrote: > Tom, are you sure this is an issue with galleryview? Is there a bug > report logged for this? > > On Jan 11, 3:06 pm, Loki117 <[email protected]> wrote: > > > > > Hey Guys, > > > I am sure most people here are aware that the Android Gallery view has > > a bit of an issue with not recycling views. For this it leads to a > > memory issue while parsing bitmaps into these imageViews. Does anyone > > know of a way to step around this issue or have a viable alternative > > to using Gallery view to effectively create a scrollable list of > > Images? > > > For completeness sake the error is an out of memory one which is > > eventually hit while decoding a stream using Bitmap from stream. I am > > sure however if the previous views where being recycled this wouldn't > > be an issue. > > > Thanks in advance, > > > Tom
-- 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

