What is the use of thread in Android?

Bảo Vy

Member
What is the use of thread in Android?
Answer
The main thread is
responsible for dispatching events to the appropriate user interface widgets as well as communicating with components from the Android UI toolkit
. To keep your application responsive, it is essential to avoid using the main thread to perform any operation that may end up keeping it blocked.
 

Tìm kiếm

Back
Top