After updating to Navigation 2.2.0-beta01 from the previous version, lint gives a warning about replacing the
tag with FragmentContainerView<
There is still a bug that will thrown an exception if you simply replace fragment for
val navHostFragment = supportFragmentManager.findFragmentById(R.id.my_nav_host_fragment) as NavHostFragment
val navController = navHostFragment.navController