android - Do something after startActivity finished -


this question has answer here:

i need update adapter after activity has finished. idea how it?

--edit --

i have activity have update data set after other activity finishes first 1 starts. have pass started activity?

try overriding either onstop() or onpause() method , add code work. use onpause() if want update adapter when user minimizes app. use onstop() if want update adapter when user exits activity , destroyed.


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -