This question is linked with the answers in the following question:

http://stackoverflow.com/questions/4259851/error-removing-bitmapsandroid/4260269#4260269

Is there any advantage of using Drawable over Bitmap in Android in
terms of memory de-allocation ?

I was looking at Romain Guy project Shelves and he uses SoftReference
for images caches but I'm unable to search where is the code which is
de-allocating these Drawables when SoftReference automatically
reclaims the memory for Bitmap. As far as I know .recycle() has to be
explicitly called on the Bitmap for it to be de-allocated.

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

Reply via email to