How to execute other threads from doinbackground()
问题 I want to download multiple images using ImageLoader.loadImage which will launch multiple threads. Because they take a while to execute and i don't want to lock up the UI, i want to run them in the doInBackground() function of AsyncTask. However I cannot launch new threads in the doInBackground() function. Is there a way around this? 回答1: I agree with the comment made by 323go AsyncTask is designed to be a helper class around Thread and Handler and does not constitute a generic threading