What is main thread and worker thread in Android?

What is main thread and worker thread in Android?
Answer
People use the word “worker” when they mean a thread that does not own or interact with UI. Threads that do handle UI are called “UI” threads. Usually, your main (primary) thread will be the thread that owns and manages UI. And then you start one or more worker threads that do specific tasks.
 

Tìm kiếm

Back
Top