ncapdevi/FragNav

onCreateView called again when switchTab

Closed this issue · 1 comments

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

Sorry, my mistake. I didn't read the documentation properly. Solution: https://github.com/ncapdevi/FragNav#show--hide-modes-for-fragment-replacement