Asynctaskloader restart loading when the activity restart
问题 Hi I'm implementing a custom asynctaskloader to load data in the background. The problem is when the user goes back to the activity after he minimizes the app(or pick photo from gallary), all the asynctaskloaders associated with the activity and asynctaskloaders associated with the fragments in the activity start all over again. How can I prevent the loader to restart the loading process when the activity restarts? My baseAsynctaskLoader class: import android.content.Context; import android