How to prevent stack saving in bottom nav tabs while using NavigationUI?
When we attach navController to bottom navigation it's saving and restore stack when we switch between tabs. But how to prevent backstack saving?
navController = (supportFragmentManager.findFragmentById(R.id.main_nav_container) as NavHostFragment).navController
binding.bottomNavigation.setupWithNavController(navController)