gilgoldzweig / EasyTabs

https://gilgoldzweig.github.io/EasyTabs/
MIT License
49 stars 12 forks source link

Fragments getting mixed with other fragments #12

Open aliwaris0572 opened 6 years ago

aliwaris0572 commented 6 years ago

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?

or-dvir commented 6 years ago

i know this is late... but maybe its related to this? https://github.com/gilgoldzweig/EasyTabs/issues/14