Reputation: 23676
In an Android app with multiple Activities, is each activity's UI thread a separate thread or are they actually the same thread (like a global, per app UI thread)?
Upvotes: 5
Views: 3094
Reputation: 1897
Each application has one UI thread, which is used to run whichever Activity is in the foreground.
There is some more information here:
http://developer.android.com/guide/topics/fundamentals/processes-and-threads.html
http://android-developers.blogspot.co.il/2009/05/painless-threading.html
Upvotes: 7