Created
May 2, 2022 07:15
-
-
Save s3va/1abf427b81bcc2e3adb8b46ea15dd58a to your computer and use it in GitHub Desktop.
bottom navigation fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- val navController = findNavController(R.id.nav_host_fragment_activity_main) | |
++ val navController = (supportFragmentManager.findFragmentById(R.id.nav_host_fragment_activity_main) as NavHostFragment).navController |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment