Kotlin: Why does DataBinding break the DrawerLayout navigation?
I'm trying to hook up the normal navigation mechanism as dictated by the DrawerLayout sample app created by Android Studio. However, my app uses dataBinding. For some reason, with the same setup exactly, save the NavController lines, my MainActivity displays a BACK arrow and not the traditional Hamburger icon that toggles the Drawer.
The sample app uses viewBinding with the line:
val navController = findNavController(R.id.nav_host_fragment_content_main)
My app uses the only way I know due to...