Monday, July 30, 2012

[android-developers] Re: Memory issues in list view with bitmaps

Are you positive it's crashing with an OutOfMemoryError?

Sounds like it could be something else.



On Sunday, July 15, 2012 4:59:27 AM UTC-5, user123 wrote:
What is the best way to handle a very long list view with bitmaps in a low memory device? I'm getting crashes after I scroll a bit... I don't want to loose image quality... I was thinking about loading only the number of items which is possible for the available memory, but this is obviously a bad solution. Do I have to recycle manually the bitmaps, in getView(), according to the position...? Is this the way to handle this?

Thanks in advance.

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment