Sunday, January 2, 2011

[android-developers] Does SoftReference calls .recyle() on a Bitmap ?

Hi,

If I store bitmaps in a hashmap using SoftReference, will
SoftReference call .recycle() on the Bitmap ? And if it doesn't then
what would be a way to clear the bitmap properly from memory under the
given situation ?

thanks

--
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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate