1:添加一键登录
This commit is contained in:
@@ -216,11 +216,21 @@ public class VocalRangeFragment extends BaseMvpFragment<MePresenter, FragmentVoc
|
||||
}
|
||||
|
||||
public void onClick(View view) {
|
||||
int id = view.getId();
|
||||
if (id == R.id.iv_sz) {//设置
|
||||
Intent intent = new Intent(getContext(), SettingActivity.class);
|
||||
Bundle bundle = new Bundle();
|
||||
bundle.putSerializable("userInfo", userInfo);
|
||||
intent.putExtras(bundle);
|
||||
startActivity(intent);
|
||||
return;
|
||||
}
|
||||
|
||||
if (userInfo==null ){
|
||||
ToastUtils.show("用户数据错误");
|
||||
return;
|
||||
}
|
||||
int id = view.getId();
|
||||
|
||||
if (id == R.id.ll_visit) {
|
||||
// ARouter.getInstance().build(ARouteConstants.ME_VISIT).navigation();
|
||||
// AppLogUtil.reportAppLog(AppLogEvent.C0104);
|
||||
@@ -274,13 +284,7 @@ public class VocalRangeFragment extends BaseMvpFragment<MePresenter, FragmentVoc
|
||||
startActivity(new Intent(getContext(), MyBagActivity.class));
|
||||
} else if (id==R.id.me_daily) {//每日任务
|
||||
startActivity(new Intent(getContext(), DailyTasksActivity.class));
|
||||
} else if (id == R.id.iv_sz) {//设置
|
||||
Intent intent = new Intent(getContext(), SettingActivity.class);
|
||||
Bundle bundle = new Bundle();
|
||||
bundle.putSerializable("userInfo", userInfo);
|
||||
intent.putExtras(bundle);
|
||||
startActivity(intent);
|
||||
}else if (id == R.id.me_my_dan){//等级
|
||||
} else if (id == R.id.me_my_dan){//等级
|
||||
Intent intent = new Intent(getContext(), WebViewActivity.class);
|
||||
intent.putExtra("url", String.format(WebUrlConstants.INSTANCE.getWEB_GRADE_URL(),SpUtil.getToken()));
|
||||
intent.putExtra("title", "等级");
|
||||
|
||||
Reference in New Issue
Block a user