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

html - Difficulties with background-image property -

visual studio code - What does the isShellCommand property actually do and how should you use it? -

ios - Segue not passing data between ViewControllers -