On Fri, Nov 19, 2010 at 1:39 PM, viktor <[email protected]> wrote:

> could any explain why this happened, I want to know memory strategy
> for Drawable?
>

It generally is described in the documentation for that method:

http://developer.android.com/reference/android/graphics/drawable/Drawable.html#mutate()

Because drawables are used a *lot* it is very valuable to not have to have a
totally separate copy of each of them for the vast majority of cases where
this isn't needed.

-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

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