tabs - Don't want to refresh tabsactivity when call from activity android -


i trying stop refreshing tabs activity, in below pictures, can see when start new activity tab fragment , close pressing button , returning tabs activity, tabs restarted. need somehow resume tabs activity,

in codes below, call new activity:

intent = new intent(context, new_activity.class); startactivity(i);  

and close in way:

finish(); 

here flow of calling activity , tabsactivity

instead of finish use flag way

intent intent = new intent(current_context, destination_activity.class); intent.setflags(intent.flag_activity_reorder_to_front); startactivity(intent); 

Comments

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -