I am updating an activity on my onPostexecute method of an AsyncTask. But now I have discovered and error.
If I open my activity and then press back before the async task has executed. The app dies,
Now this makes sense because it will try to update the activity which has jsut been closed.
How do i resolve this issue?
is there a check i can do in the onPostExecute method?
I Have an activity with multiple fragments in it. each fragment starts its own asynctask.