I am making an application with tabs. In that app same TabView is to be shown in multiple activities in hierarchy. For that i used ActivityGroup. In my application i can navigate from first activity containing tab to its child activity and can come back to previous activity by pressing a button in child activity. While navigating between these two activities, i get StackOverflowError after few navigations.
I tried flag but it doesn't help.
I also tried but it finishes whole ActivityGroup.
Then i tried method but still getting same error.
Now i have no idea what to do for this problem. Any help is appreciated.
Thanks in advance.