I have a list view being populated by my array adapter. Now everything works fine until i click on a row which launches an async task.
My async task is supposed to download some image urls and launch an intent service in it's onPostExecute to download the images and store them on the SDcard.
All this works fine but once i hit back and relaunch the fragment mid the network operations, my listview is empty and remains empty until the intent service is done. What could be the problem here? I have an AsyncTask handling the downloads in the intent service so why does the service "block" the main thread?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…