what-the-bank/sources/com/scb/phone/view/fragment/hml/HmlNTBSummaryFragment.java

120 lines
3.8 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.fragment.hml;
import android.content.Context;
import android.content.Intent;
import android.widget.ImageView;
import android.widget.TextView;
import butterknife.BindView;
import com.scb.phone.R;
import com.scb.phone.view.activity.hml.HmlNTBPersonalInfoActivity;
import com.scb.phone.view.activity.hml.HmlSetNTBPinActivity;
import com.scb.phone.view.activity.hml.NTBPinLoginActivity;
import o.AbstractC5576bvf;
import o.C14957gcv;
import o.C5479bto;
import o.InterfaceC13391fZD;
import o.bTI;
import o.pug;
/* loaded from: classes5.dex */
public final class HmlNTBSummaryFragment extends Hilt_HmlNTBSummaryFragment {
public static final IeS d = new IeS(0);
@InterfaceC13391fZD
public C5479bto hmlNTBSummaryPresenter;
@BindView
public TextView step2Desc;
/* loaded from: classes5.dex */
public static final class IeS {
private IeS() {
}
public /* synthetic */ IeS(byte b) {
this();
}
}
@Override // o.InterfaceC9299dhC
public final void b(bTI bti) {
C14957gcv.e(bti, "");
c("p10x1_simulator_summary", new pug("user_type", "ntb"));
startActivity(HmlNTBPersonalInfoActivity.age_(getContext()));
}
@Override // o.InterfaceC9299dhC
public final void b() {
NTBPinLoginActivity.Sts sts = NTBPinLoginActivity.k;
Context requireContext = requireContext();
C14957gcv.c(requireContext, "");
C14957gcv.e(requireContext, "");
startActivityForResult(new Intent(requireContext, (Class<?>) NTBPinLoginActivity.class), 8866);
}
@Override // o.InterfaceC9299dhC
public final void d() {
HmlSetNTBPinActivity.LWm lWm = HmlSetNTBPinActivity.m;
Context requireContext = requireContext();
C14957gcv.c(requireContext, "");
C14957gcv.e(requireContext, "");
Intent intent = new Intent(requireContext, (Class<?>) HmlSetNTBPinActivity.class);
intent.setFlags(1073741824);
startActivity(intent);
}
@Override // com.scb.phone.view.fragment.BaseFragment, androidx.fragment.app.Fragment
public final void onActivityResult(int i, int i2, Intent intent) {
super.onActivityResult(i, i2, intent);
if (i2 == -1) {
startActivity(HmlNTBPersonalInfoActivity.age_(getContext()));
}
}
@Override // com.scb.phone.view.fragment.hml.HmlSummaryFragment
protected final AbstractC5576bvf f() {
C5479bto c5479bto = this.hmlNTBSummaryPresenter;
if (c5479bto == null) {
C14957gcv.a("");
c5479bto = null;
}
return c5479bto;
}
@Override // o.InterfaceC9299dhC
public final void e() {
TextView textView = this.step2Text;
ImageView imageView = null;
if (textView == null) {
C14957gcv.a("");
textView = null;
}
textView.setText(getResources().getText(R.string.hml_summary_step_2));
TextView textView2 = this.step2Desc;
if (textView2 == null) {
C14957gcv.a("");
textView2 = null;
}
textView2.setText(getResources().getText(R.string.hml_summary_step_2_description));
TextView textView3 = this.step2Desc;
if (textView3 == null) {
C14957gcv.a("");
textView3 = null;
}
textView3.setVisibility(0);
ImageView imageView2 = this.step2Image;
if (imageView2 == null) {
C14957gcv.a("");
imageView2 = null;
}
imageView2.setImageResource(R.drawable.ic_verify_identify_step);
ImageView imageView3 = this.step3Image;
if (imageView3 != null) {
imageView = imageView3;
} else {
C14957gcv.a("");
}
imageView.setImageResource(R.drawable.ic_occupation_step);
}
}