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
Post a Comment