Makes absolute sense. So how would I be able to clean those from my app? I 
need to call recycle() myself? It also seems that the practice of using a 
SoftReference for a drawable cache is not helpful (not unless you are 
developing in HC).

Also, I've read somewhere before the we should not just 'nullify' the 
drawable reference. For example do not do bitmap = null; as this has no 
effect. Instead just call bitmap.recycle() only.

recycle() seems a better option as it probably includes some native calls to 
cleanup the bitmap from Skia.

Any recommendations, best practices?

Thanks for response!

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

Reply via email to