Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Override
- public boolean onOptionsItemSelected(MenuItem item) {
- switch (item.getItemId()) {
- // action with ID action_refresh was selected
- case R.id.action_refresh:
- Toast.makeText(this, "Refresh selected", Toast.LENGTH_SHORT)
- .show();
- break;
- default:
- break;
- }
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement