On a side note:

> "Note: The entire view tree is single threaded. You must always be on the
> UI thread when calling any method on any view."
>
> This wasn't written to mislead people [..]: it is because it is true

True, "any method" means the constructor too, since the constructor is
practically method too. The thing that confused me that the doc
implies that the rule applies methods on EXISTING views ("on any
way"), and does not state anything about their CONSTRUCTION
(instantiation). Moreover, for the beginner eye, at the first glance,
the concept of AsyncDrawable may also be confusing: the AsyncDrawable
is not instantiated async (it's created on the UI thread), it's called
async because its contents (Bitmap) is loaded asynchronously.
http://developer.android.com/training/displaying-bitmaps/process-bitmap.html

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