In my activity I instantiate some controls that search server data asynchronously.
The control instance is as follows:
new controle().executar(new InterfaceRetorno(){...});
But what happens is the following, if the user hit the back button I destroy the activity with the finish () method. And that's where the problem is, because if the interface has not updated the TextView yet, when it returns something and tries to update, it will give a null exeption
How do I finish all the actions that are occurring that are the daughter of this activity?