android - startActivityForResult from ActivityGroup -


i using activitygroup. use following code activitygroup in order replace view , launch new activity.

intent = new intent(summarycostscreen.this,permissionsscreen.class); replacecontentview("activity1",i);  public void replacecontentview(string id, intent newintent) {     view view = getlocalactivitymanager().startactivity(id,      newintent.addflags(intent.flag_activity_clear_top)).getdecorview(); } 

the problem above code that, need have startactivityforresult in place of startactivity, since need update ui of launcher activity when coming launched activity.

getlocalactivitymanager() not have startactivityforresult. how should address situation, such that, able update ui onactivityresult?

any appreciated.

ps: i cannot change replacecontentview approach launching new screen, since has been used @ numerous other places , scenario in need call startactivityforresult

converting comments answer, try using onresume() update ui of summercostscreen


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -