I’m creating ListView in AsyncTask inside Fragment. In onActivityCreated method i call AsyncTask's execute() method, but after onPause() when I resume activity, my list is empty. Should I call execute() method again in onResume()? Thank you.
I’m creating ListView in AsyncTask inside Fragment . In onActivityCreated method i call AsyncTask’s
Share
Yes, You have to call execute on
onResume(). For more information about activity cycle see here.