I got some concerns about AsyncTask that I could not clarify when reading the documentation.
我的主要活动是,当阿松奇·塔克创立时,我就进行了几次活动。 这些AsyncTask主要下载数据或从亚洲开发银行检索数据。
- If I go to a different Activity, will the AsyncTask s created on this one continue executing? Or will they stop working and leave the task half done? If so, will they go on somehow when getting back to this activity?
- In order to start one of the activities from the one that is running the AsyncTask s, I need one of the AsyncTask s to be fully executed. How do I set this constraint? Could you show me some sample code of this, please?
Thanks