-6
能否請你告訴我:android中asynctask和thread之間的主要區別是什麼?
- 的AsyncTask和線程之間的主要區別是什麼,總之一條線?
- Asynctask和Thread有哪些各自的優缺點?
能否請你告訴我:android中asynctask和thread之間的主要區別是什麼?
主題
1. A Thread is a Thread, probably you already know it from other part. You need to know that you cannot update UI from a Thread. You need to use a Handler for this, but read further.
的AsyncTask
2. An AsyncTask is an intelligent Thread that is advised to be used. Intelligent as it can help with it's methods, and there are two methods that run on UI thread, which is good to update UI components.
它是重複的。 –