You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 21, 2021. It is now read-only.
Since slidemenu.isShown() method returns "true" even though menu was not shown. The below code(What I thought to be valid) ends up in exception since menu object is null.
public boolean onKeyDown(int keyCode, KeyEvent event) {
if (keyCode == KeyEvent.KEYCODE_MENU) {
if(slideMenu.isShown())
slideMenu.hide();
}
}