Konvertieren Sie die Java -Datei in die Kotlin -Datei
private fun setupSmoothBottomMenu() {
val popupMenu = PopupMenu(this, null)
popupMenu.inflate(R.menu.menu_bottom)
val menu = popupMenu.menu
binding.bottomBar.setupWithNavController(menu, navController)
}
Bad Badger