Also, you'll know when you need to use runOnUIThread() because your
app will crash with an exception saying that you can only modify a UI
element from the UI thread.

It's worth noting that proper use of Handler and AsyncTask absolve you
from having to worry about the UI thread even when you have to do
background work that must not block the UI.

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