Closed malwinder-s closed 5 years ago
I am getting onCreateView() called again when:
onCreateView()
fragNavController?.switchTab(position)
Shouldn't it just replace the fragment and call onRestart()?
onRestart()
I am using version 3.2.0 of this library
Sorry, my mistake. I didn't read the documentation properly. Solution: https://github.com/ncapdevi/FragNav#show--hide-modes-for-fragment-replacement
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