Fragments fail to attach after replacrFragment
Opened this issue · 6 comments
nikhil-thakkar commented
This is a strange issue I'm facing.
Steps to reproduce:
- Clearstack for current tab and replace the root fragment using replaceFragment method.
- Though the above step works but when you switch tabs, the already attached fragment disappears and fails to attach itself.
Please look into this issue and let me know if this sounds valid.
nikhil-thakkar commented
To add to, my fragmentHideStrategy was DETACH_ON_NAVIGATE_HIDE_ON_SWITCH but when I change it to DETACH, the fragments are attach/detach correctly.
ncapdevi commented
Hmm, just to clarify, are the clearstack
and replaceFragment
methods called sequentially and immediately after each other? Also could you verify which version of FragNav you're using.
nikhil-thakkar commented
Yes, the clearstack and replaceFragment are being called sequentially and immediately.
The version of FragNav we are using is 3.1.0.
Onum commented
Same issue. When can we expect a fix?
AEslamifar commented
Same issue.
bvk070 commented
Same issue. It's been more than a year.
When can we expect a fix?