We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Something like this added to the MainActivity. maybe you could do a better way who knows but just an option for feature phone users.
override fun onKeyDown(keyCode: Int, event: KeyEvent?): Boolean { return when (keyCode) { KeyEvent.KEYCODE_MENU -> { when (navController.currentDestination?.id) { R.id.mainFragment -> { Navigation.findNavController(this, R.id.nav_host_fragment) .navigate(R.id.action_mainFragment_to_appListFragment) true } else -> { false } } } else -> { super.onKeyDown(keyCode, event) } } }
The text was updated successfully, but these errors were encountered:
Have you tested this on a feature phone?
Sorry, something went wrong.
Thanks. I'll check it out.
No branches or pull requests
Something like this added to the MainActivity. maybe you could do a better way who knows but just an option for feature phone users.
The text was updated successfully, but these errors were encountered: