| | |
| | | DialogUtil.dismiss(mDialog); |
| | | } |
| | | |
| | | if (!UserUtil.isLogin(mContext)) { |
| | | //去登录 |
| | | FlutterPageUtil.jumpPage("LoginPage", null, null); |
| | | return; |
| | | } |
| | | |
| | | if (VideoGoldCornUtil.isDoubleNotify(mContext)) { |
| | | startDoubleTask(); |
| | | return; |
| | | } |
| | | |
| | | |
| | | //TODO 弹框 |
| | | mDialog = new GoldCornDoubleDialog.Builder(mActivity).setGoldCorn(VideoGoldCornUtil.getVideoPlayCircle(mContext) * VideoGoldCornUtil.getPrice(mContext)).setCallBack(new GoldCornDoubleDialog.GoldCornDoubleCallBack() { |
| | | @Override |
| | | public void onPositive(boolean notify) { |
| | |
| | | if (info.isFinish()) { |
| | | //任务完成后要隐藏覆盖物 |
| | | mAquery.id(R.id.fl_cover).visibility(View.GONE); |
| | | Toast.makeText(mContext, "任务完成", Toast.LENGTH_LONG).show(); |
| | | } else { |
| | | mAquery.id(R.id.fl_cover).visibility(View.VISIBLE); |
| | | } |
| | | |
| | | } |
| | | } |
| | | }); |