How could I run the AsyncTask in the thread pool? method executeOnExecutor(exec, params) I cannot use, because it requires API level 11.
How could I run the AsyncTask in the thread pool? method executeOnExecutor(exec, params) I
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You should not run an AsyncTask in a custom thread pool. AsyncTasks are already managed by a thread pool through Android. You can see this by debugging your application and watch the thread pool grow as you create AsyncTasks.