Personally I think there is no reason to do this. AsyncTask just has a
facility to deliver results back to the main thread. This is nothing tied
to UI. The main thread just happens to be where UI is running as well as
many other things such as the callbacks to Service itself. If you don't
want
AsyncTask is managing a thread pool with 5 core thread. Once we start
to use AsyncTask, it will start to set up this thread pool on android
phone.
The reason I don't want to AsyncTask is because I am going to create a
service, and start threads from service, which means there is not much
UI
2 matches
Mail list logo