Android : How can I pause the main thread till AsyncTask completes?
I am calling an asynctask from the main thread of my Android application. However, I need to pause the main thread till the time the async task is over.
Can someone suggest how to do this?
Aucun commentaire:
Enregistrer un commentaire