I am using EasyTabs in two different fragments, say Frag1 and Frag2. When I switch between Frag1 and Frag2 by selecting an option from navigation drawer, I see fragments which I have added to EasyTabs of Frag1 in Frag2.
On debugging, I found that the FragmentManager holds 'active' and 'added' fragments of the old fragment Frag1 even when I switched to Frag2.
NOTE: While starting the application for the first time, Frag1 loads perfectly with its fragments for each tab. Issue occurs when I want to switch from Frag1 to Frag2.
I am using EasyTabs in two different fragments, say Frag1 and Frag2. When I switch between Frag1 and Frag2 by selecting an option from navigation drawer, I see fragments which I have added to EasyTabs of Frag1 in Frag2.
On debugging, I found that the FragmentManager holds 'active' and 'added' fragments of the old fragment Frag1 even when I switched to Frag2.
NOTE: While starting the application for the first time, Frag1 loads perfectly with its fragments for each tab. Issue occurs when I want to switch from Frag1 to Frag2.
What am I missing here?