示例#1
0
 @Override
 public boolean onOptionsItemSelected(MenuItem item) {
   if (item.getItemId() == MenuHelper.MENU_SHARE_ID) {
     BookShareHelper.share(this, book);
     return true;
   }
   return MenuHelper.onOptionsItemSelected(this, item);
 }
示例#2
0
 @Override
 public boolean onSearchRequested() {
   return MenuHelper.onSearchRequested(this);
 }
示例#3
0
 @Override
 public boolean onCreateOptionsMenu(Menu menu) {
   return MenuHelper.onCreateOptionsMenu(menu, true);
 }