Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

does not have a NavController set

val navHostFragment = supportFragmentManager.findFragmentById(R.id.nav_host_fragment) as NavHostFragment
val navController = navHostFragment.navController
Source by qa.ostack.cn #
 
PREVIOUS NEXT
Tagged: #NavController #set
ADD COMMENT
Topic
Name
6+2 =