Android: Proper way to download lots of files
问题 In my app I need to download a bunch of files. My original plan was use an individual AsyncTask for each file, so that I can notify the rest of the app when each file is downloaded. I found it testing that while this works, its seems really memory in-efficient. Is there a good way to use a single AsyncTask or maybe a Service to download the files and notify on each files complete? 回答1: There's no reason to use numerous AsyncTask s, since you may create the list of file names, pass it to the