and just handling it through onBackPressed() instead.
So a user who wants to avoid having the app end with the back button can just override onBackPressed() and do whatever they want to do instead.
Note: submitting an alternate pull request that repairs the originally documented usage of changing keyCode within onKeyPressed(). Probably want to accept one of these and reject the other.
and just handling it through onBackPressed() instead.
So a user who wants to avoid having the app end with the back button can just override onBackPressed() and do whatever they want to do instead.
Note: submitting an alternate pull request that repairs the originally documented usage of changing keyCode within onKeyPressed(). Probably want to accept one of these and reject the other.