@Override protected void onTitleRightClickTv() { super.onTitleRightClickTv(); boolean isLogin = ContentUtils.getLoginStatus(this); boolean re = false; switch (curPosition) { case POSITION0: re = JumpIntent.jumpLogin_addShop(isLogin, API.SHOPS, this); if (re) { isChange = true; ChangeShopActivity.myShopChange = this; Intent intent_more = new Intent(this, ChangeShopActivity.class); startActivity(intent_more); } break; } }
@Override protected void onTitleRightClick1() { super.onTitleRightClick1(); boolean isLogin = ContentUtils.getLoginStatus(this); boolean re = false; switch (curPosition) { case POSITION0: // 二维码扫描 // re = JumpIntent.jumpLogin_addShop(isLogin, API.SWEEP, this); // if (re) { // // pickImage(); // startActivityForResult((new Intent(this, // OrderProductActivity.class)), // GlzxPagerFragment.OrderProductActivity_code); // } break; case POSITION3: // 其他 re = JumpIntent.jumpLogin_addShop1(isLogin, API.OTHER, this); if (re) { Intent intent_more = new Intent(this, OtherActivity.class); startActivityForResult(intent_more, OTHERACTIVITY_CODE); } break; } }