示例#1
0
  @Override
  public boolean onOptionsItemSelected(MenuItem item) {
    int id = item.getItemId();
    switch (id) {
      case R.id.search:
        UIHelper.showSimpleBack(this, SimpleBackPage.SEARCH);
        break;

      default:
        break;
    }
    return super.onOptionsItemSelected(item);
  }
 private void showEventApplies() {
   Bundle args = new Bundle();
   args.putInt(BaseListFragment.BUNDLE_KEY_CATALOG, mDetail.getEvent().getId());
   UIHelper.showSimpleBack(getActivity(), SimpleBackPage.EVENT_APPLY, args);
 }