ncapdevi/FragNav

rootFragments and fragmentStackTags sizes mismatch when restoring the FragNavController from Bundle

youssefhassan opened this issue · 1 comments

Hello,

I bumped into an issue with the FragNavController especially after restoring the from savedInstanceState and having a dynamically changing number of tabs, that the rootFragments count is greater than the fragmentStacksTags so it throws IndexOutOfBoundsException with message "Can't switch to a tab that hasn't been initialized" .. is that expected behaviour?

Thanks,

Hmm, definitely sounds like an issue. I will see if I can track it down.