-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.
它是重复的。 –