This will typically result in the operating system displaying an “Application is not responding” warning to the user. Any additional components that are started within the application will, by default, also run on the main thread.Īny component within an application that performs a time consuming task using the main thread will cause the entire application to appear to lock up until the task is completed. The primary role of the main thread is to handle the user interface in terms of event handling and interaction with views in the user interface. This thread is generally referred to as the main thread. When an Android application is first started, the runtime system creates a single thread in which all application components will run by default. Report this ad The Application Main Thread
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |