android - Loading an Alert Box from a Thread when the activity has gone away -
I have a comment activity that loads a thread and sends some data to a server; After pressing the deposit button, the activity ends immediately.
Then the user makes other items free of charge in my application.
When someone replies to a The problem is that since the initial reference has been deleted, my app crashes. I tried alert card, then the answer to the server is the answer.
getApplicationContext ()
but still get exception.
Put your network stuff in one, then show instead of a dialog.
Comments
Post a Comment