Skip to content

Instantly share code, notes, and snippets.

@jezinka
Created April 19, 2017 12:46
@Override
public boolean onOptionsItemSelected(MenuItem item) {
switch (item.getItemId()) {
/*
...
*/
case R.id.application_info_item:
showInfoDialog();
return true;
default:
return super.onOptionsItemSelected(item);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment