In my application, I have multiple activities within a single tab. I am managing those by using Activity group. I wanted to ask, that if on one tab I am on the second or third activity, and then I move to the other tab and back to the same tab, how can I show the first activity. Now, it is showing the activity which I was on before moving to the next tab.
Please help me out in this.
Try This
Intent i = new Intent(getParent(),your.class);
TabGroupActivity parentActivity = (TabGroupActivity)getParent();
parentActivity.startChildActivity("class_title", i);
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.