I have setup bottomNavigation with navcontroller
var navHostFragment = supportFragmentManager.findFragmentById(R.id.nav_host_fragment_content_main) as NavHostFragment val navController: NavController = navHostFragment.navController setupWithNavController(binding.navigation, navController)
if i navigate deep in app from homeFragment and comeback to homeFragment via popUpto attribute of action tag in nav-graph its working fine
but if i navigate to another fragment with BottomNavigation and then will go to deep in app and trying to come back to homeFragment using Popupto attribute, it will come to homeFragment but fragment layout is blank and touch is working
For understanding please prefer video Link is below
on HomeFragment onViewCreated i called requestLayout() method but still its not working