Saturday, 7 April 2012

How to access the android UI thread from other threads


Android offers several ways to access the UI thread from other threads. You may already be familiar with some of them but here is a comprehensive list:
When using a handler, you can pass a single object as part of the Message to the Handler using msg.obj field.

Source: http://developer.android.com/resources/articles/painless-threading.html

No comments:

Post a Comment