Skip to content

Instantly share code, notes, and snippets.

@jezinka
Created Apr 19, 2017
Embed
What would you like to do?
@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