1
Good morning, I am developing an Android project and am with a problem I will try to explain clearly:
I have two Activitys A and B, my Activity A calls B and stays in the stack, after terminating the actions in B this ends and returns to A (returns because A was in the stack). This Activity B changes data on the server that changes the display on A, so I need A to update when B is finished to display such changes. Is there any way to do this update or reload Activity A once B is finished?
Detail: Before Activity A there are others on the stack.
Taxis, I used the onRestart method in Activity A and it worked perfectly, when returning it calls the method that interacts with the web service and thus loads the updated data. Thanks for the help!
– Paul Polidoro
Great, Paul! onRestart also solves your problem! It was a pleasure to help you!
– Tássio Auad