正在查看: 新暖心缘 v8.1.1 应用的 YoungModeActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: 新暖心缘 v8.1.1 应用的 YoungModeActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.luanxingyuan.app.activity;
import android.text.TextUtils;
import android.view.View;
import butterknife.OnClick;
import com.luanxingyuan.app.base.BaseActivity;
import com.luanxingyuan.app.base.BaseResponse;
import com.luanxingyuan.app.bean.UserCenterBean;
import com.luanxingyuan.app.util.ParamUtil;
import com.luanxingyuan.app.util.ToastUtil;
import java.util.HashMap;
public class YoungModeActivity extends BaseActivity {
class a extends r6.a<BaseResponse<UserCenterBean>> {
a() {
}
@Override
public void onError(x8.e eVar, Exception exc, int i8) {
super.onError(eVar, exc, i8);
ToastUtil.showToast(YoungModeActivity.this.getApplicationContext(), 2131821363);
}
public void onResponse(BaseResponse<UserCenterBean> baseResponse, int i8) {
if (baseResponse == null || baseResponse.m_istatus != 1) {
ToastUtil.showToast(YoungModeActivity.this.getApplicationContext(), 2131821363);
return;
}
UserCenterBean userCenterBean = baseResponse.m_object;
if (userCenterBean == null) {
ToastUtil.showToast(YoungModeActivity.this.getApplicationContext(), 2131821363);
return;
}
if (TextUtils.isEmpty(userCenterBean.t_phone)) {
ToastUtil.showToast(YoungModeActivity.this.getApplicationContext(), 2131820684);
PhoneVerifyActivity.startPhoneVerifyActivity(YoungModeActivity.this, 1);
} else {
YoungModePasswordActivity.startYoungPasswordActivity(YoungModeActivity.this, false);
}
YoungModeActivity.this.finish();
}
}
private void getInfo() {
HashMap hashMap = new HashMap();
hashMap.put("userId", getUserId());
x7.a.h().c(m6.a.M0()).e("param", ParamUtil.getParam(hashMap)).f().c(new a());
}
@Override
protected View getContentView() {
return inflate(2131492989);
}
@OnClick
public void onClick(View view) {
if (view.getId() == 2131297021) {
getInfo();
}
}
@Override
protected void onContentAdded() {
setTitle(2131821469);
this.mHeadLineV.setVisibility(4);
}
}