正在查看: klikUMKM v2.0.1 应用的 MyLogoutSecondLevelActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: klikUMKM v2.0.1 应用的 MyLogoutSecondLevelActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.yx.credit.indonesia.ui.my;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.lifecycle.b1;
import com.yx.credit.base.YxApplication;
import com.yx.credit.base.activity.BaseFragmentActivity;
import com.yx.credit.indonesia.R$id;
import com.yx.credit.indonesia.R$layout;
import com.yx.credit.indonesia.R$string;
import com.yx.credit.indonesia.http.entity.LogoutCheckRsp;
import com.yx.credit.indonesia.ui.my.MyLogoutSecondLevelActivity;
import j4.j;
import j4.m;
import java.util.ArrayList;
import java.util.HashMap;
import l9.e;
import qa.q;
public class MyLogoutSecondLevelActivity extends BaseFragmentActivity {
public static final int Q = 0;
public ImageView K;
public TextView L;
public TextView M;
public ArrayList N;
public String O;
public boolean P = false;
public final void M() {
b1 b1Var = new b1();
b1Var.a = j.m(R$string.logout_dialog_title, new Object[0]);
b1Var.f4895c = j.m(R$string.logout_dialog_left_text, new Object[0]);
b1Var.f4896d = j.m(R$string.membatalkan, new Object[0]);
b1Var.f4897e = new q(this);
BaseFragmentActivity baseFragmentActivity = this.F;
e eVar = new e();
eVar.f10013p0 = b1Var;
eVar.W(baseFragmentActivity.C(), "CenterContentDialogFragment");
}
@Override
public final void onCreate(Bundle bundle) {
super.onCreate(bundle);
setContentView(R$layout.activity_logout_second_level);
Intent intent = getIntent();
if (intent != null) {
this.N = intent.getStringArrayListExtra("reason_list");
this.O = intent.getStringExtra("other_reason");
}
J();
G();
K();
this.K = (ImageView) findViewById(R$id.iv_back_base_title);
this.L = (TextView) findViewById(R$id.tv_title_base_title);
this.M = (TextView) findViewById(R$id.tv_confirm);
final int i10 = 0;
this.K.setOnClickListener(new View.OnClickListener(this) {
public final MyLogoutSecondLevelActivity f11239b;
{
this.f11239b = this;
}
@Override
public final void onClick(View view) {
MyLogoutSecondLevelActivity myLogoutSecondLevelActivity = this.f11239b;
switch (i10) {
case 0:
int i11 = MyLogoutSecondLevelActivity.Q;
myLogoutSecondLevelActivity.finish();
break;
default:
if (!myLogoutSecondLevelActivity.P) {
if (!j4.d.A()) {
myLogoutSecondLevelActivity.L();
HashMap hashMap = new HashMap();
com.yx.credit.base.net.k.a.w("https://api.klikumkm.co.id/api/indo/user/cancel/check", hashMap, LogoutCheckRsp.class, true).M(cb.b.a()).R(new p(myLogoutSecondLevelActivity));
break;
}
} else {
myLogoutSecondLevelActivity.M();
break;
}
break;
}
}
});
final int i11 = 1;
this.M.setOnClickListener(new View.OnClickListener(this) {
public final MyLogoutSecondLevelActivity f11239b;
{
this.f11239b = this;
}
@Override
public final void onClick(View view) {
MyLogoutSecondLevelActivity myLogoutSecondLevelActivity = this.f11239b;
switch (i11) {
case 0:
int i112 = MyLogoutSecondLevelActivity.Q;
myLogoutSecondLevelActivity.finish();
break;
default:
if (!myLogoutSecondLevelActivity.P) {
if (!j4.d.A()) {
myLogoutSecondLevelActivity.L();
HashMap hashMap = new HashMap();
com.yx.credit.base.net.k.a.w("https://api.klikumkm.co.id/api/indo/user/cancel/check", hashMap, LogoutCheckRsp.class, true).M(cb.b.a()).R(new p(myLogoutSecondLevelActivity));
break;
}
} else {
myLogoutSecondLevelActivity.M();
break;
}
break;
}
}
});
((ViewGroup) findViewById(R$id.ll_back)).setPadding(0, m.o(YxApplication.f7325c), 0, 0);
this.L.setText(j.m(R$string.keamanan_akun, new Object[0]));
}
}