Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
439 B
1
Indexable
Never
  val navController = findNavController(R.id.nav_host_fragment_content_main)
        val drawerLayout: DrawerLayout = binding.drawerLayout
        val navView: NavigationView = binding.navView 
appBarConfiguration = AppBarConfiguration(setOf(R.id.nav_home, R.id.nav_setting, R.id.logout), drawerLayout)
        setupActionBarWithNavController(navController, appBarConfiguration)
        navView.setupWithNavController(navController)