onCreateView called again when switchTab
Closed this issue · 1 comments
malwinder-s commented
I am getting onCreateView()
called again when:
fragNavController?.switchTab(position)
Shouldn't it just replace the fragment and call onRestart()
?
I am using version 3.2.0 of this library
malwinder-s commented
Sorry, my mistake. I didn't read the documentation properly. Solution: https://github.com/ncapdevi/FragNav#show--hide-modes-for-fragment-replacement