i am working on a little game. When I press the backbutton the activity
will show a window cancel game yes/no.
If I press Yes i get via finish()
back to my MainActivity
.
My Problem is, that I can't start the game again, because my Asynctask wasn't finished. I first have to kill the app in the "recently used apps".
See Question&Answers more detail:os