GeeCON Prague 2014*
The moose likes Android and the fly likes what is so special about UI Thread? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Mobile » Android
Bookmark "what is so special about UI Thread?" Watch "what is so special about UI Thread?" New topic
Author

what is so special about UI Thread?

gauravkv gupta
Greenhorn

Joined: Feb 18, 2012
Posts: 21
Hi,

I was going through some posts and blogs, and i found that UI Threads can update UI but other threads can not.
So i want to ask What is so special about UI Threads so that they can update UI component whereas other threads can not update.
In addition, why normal threads can not update UI components.

Please correct me if their is some mistake in my understanding of UI Threads.
Please update me regarding UI Threads

Thanks in appreciation
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6661
    
    5

My answer on your other post kinda hints at why UI threads are special. Background threads are meant for long running operations. You do not want to mix them with UI threads.

http://www.coderanch.com/forums/posts/list/593552#2710151


SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
 
GeeCON Prague 2014
 
subject: what is so special about UI Thread?