615 lines
23 KiB
Java
615 lines
23 KiB
Java
package com.scb.phone.view.fragment.remittance;
|
|
|
|
import android.content.Context;
|
|
import android.content.Intent;
|
|
import android.os.Build;
|
|
import android.os.Bundle;
|
|
import android.os.Parcelable;
|
|
import android.view.LayoutInflater;
|
|
import android.view.View;
|
|
import android.view.ViewGroup;
|
|
import android.widget.Button;
|
|
import android.widget.LinearLayout;
|
|
import android.widget.TextView;
|
|
import androidx.constraintlayout.widget.ConstraintLayout;
|
|
import androidx.fragment.app.FragmentActivity;
|
|
import com.huawei.hms.support.api.entity.common.CommonConstant;
|
|
import com.scb.phone.R;
|
|
import com.scb.phone.view.activity.remittance.RemittanceRecipientNationalityActivity;
|
|
import com.scb.phone.view.activity.remittance.RemittanceSenderAddressActivity;
|
|
import com.scb.phone.view.custom.common.CustomTextviewOutlineWithIcon;
|
|
import com.scb.phone.view.custom.investment.onboarding.CustomSpinnerWithTitle;
|
|
import com.scb.phone.view.fragment.remittance.RemittanceSenderAddressReviewFragment;
|
|
import java.util.List;
|
|
import o.AbstractC13163fSk;
|
|
import o.AbstractC14961gcz;
|
|
import o.BvD;
|
|
import o.C0520Io;
|
|
import o.C11560ehe;
|
|
import o.C14957gcv;
|
|
import o.Heg;
|
|
import o.InterfaceC0834Plv;
|
|
import o.InterfaceC13391fZD;
|
|
import o.InterfaceC13393fZL;
|
|
import o.InterfaceC14890gbN;
|
|
import o.InterfaceC9570dmI;
|
|
import o.LFv;
|
|
import o.Roo;
|
|
import o.UH;
|
|
import o.UO;
|
|
import o.VH;
|
|
import o.ZI;
|
|
import o.cDA;
|
|
import o.cDQ;
|
|
import o.fSQ;
|
|
import o.fZZ;
|
|
import o.gdZ;
|
|
import o.huo;
|
|
import o.qeC;
|
|
|
|
/* loaded from: classes5.dex */
|
|
public final class RemittanceSenderAddressReviewFragment extends Hilt_RemittanceSenderAddressReviewFragment implements InterfaceC9570dmI {
|
|
public static final RVV d = new RVV(0);
|
|
private final InterfaceC13393fZL c;
|
|
private huo<Intent> f;
|
|
private huo<Intent> g;
|
|
private huo<Intent> j;
|
|
|
|
@InterfaceC13391fZD
|
|
public cDA presenter;
|
|
|
|
public static final /* synthetic */ void b(RemittanceSenderAddressReviewFragment remittanceSenderAddressReviewFragment) {
|
|
huo<Intent> huoVar = remittanceSenderAddressReviewFragment.f;
|
|
if (huoVar == null) {
|
|
C14957gcv.a("");
|
|
huoVar = null;
|
|
}
|
|
RemittanceRecipientNationalityActivity.Sts sts = RemittanceRecipientNationalityActivity.k;
|
|
Context requireContext = remittanceSenderAddressReviewFragment.requireContext();
|
|
C14957gcv.c(requireContext, "");
|
|
C14957gcv.e(requireContext, "");
|
|
Intent intent = new Intent(requireContext, (Class<?>) RemittanceRecipientNationalityActivity.class);
|
|
intent.putExtra("IS_FLOW_COUNTRY_OF_BIRTH", true);
|
|
huoVar.d(intent, null);
|
|
}
|
|
|
|
public RemittanceSenderAddressReviewFragment() {
|
|
HBt hBt = new HBt(this);
|
|
C14957gcv.e(hBt, "");
|
|
this.c = new fZZ(hBt);
|
|
}
|
|
|
|
/* loaded from: classes5.dex */
|
|
public static final class RVV {
|
|
private RVV() {
|
|
}
|
|
|
|
public /* synthetic */ RVV(byte b) {
|
|
this();
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes5.dex */
|
|
static final class HBt extends AbstractC14961gcz implements InterfaceC14890gbN<Roo> {
|
|
private RemittanceSenderAddressReviewFragment e;
|
|
|
|
@Override // o.InterfaceC14890gbN
|
|
public final /* synthetic */ Roo invoke() {
|
|
View inflate = this.e.getLayoutInflater().inflate(R.layout.2131559872, (ViewGroup) null, false);
|
|
int i = R.id.bt_next;
|
|
Button button = (Button) qeC.e(inflate, R.id.bt_next);
|
|
if (button != null) {
|
|
i = R.id.ctv_country_of_birth;
|
|
CustomTextviewOutlineWithIcon customTextviewOutlineWithIcon = (CustomTextviewOutlineWithIcon) qeC.e(inflate, R.id.ctv_country_of_birth);
|
|
if (customTextviewOutlineWithIcon != null) {
|
|
i = R.id.ll_sender_address_input_container;
|
|
LinearLayout linearLayout = (LinearLayout) qeC.e(inflate, R.id.ll_sender_address_input_container);
|
|
if (linearLayout != null) {
|
|
i = R.id.ll_swt_mobile_number;
|
|
LinearLayout linearLayout2 = (LinearLayout) qeC.e(inflate, R.id.ll_swt_mobile_number);
|
|
if (linearLayout2 != null) {
|
|
i = R.id.swt_mobile_number;
|
|
CustomSpinnerWithTitle customSpinnerWithTitle = (CustomSpinnerWithTitle) qeC.e(inflate, R.id.swt_mobile_number);
|
|
if (customSpinnerWithTitle != null) {
|
|
i = R.id.tv_sender_address;
|
|
TextView textView = (TextView) qeC.e(inflate, R.id.tv_sender_address);
|
|
if (textView != null) {
|
|
i = R.id.tv_sender_address_title;
|
|
TextView textView2 = (TextView) qeC.e(inflate, R.id.tv_sender_address_title);
|
|
if (textView2 != null) {
|
|
i = R.id.tv_sender_personal_information_title;
|
|
TextView textView3 = (TextView) qeC.e(inflate, R.id.tv_sender_personal_information_title);
|
|
if (textView3 != null) {
|
|
return new Roo((ConstraintLayout) inflate, button, customTextviewOutlineWithIcon, linearLayout, linearLayout2, customSpinnerWithTitle, textView, textView2, textView3);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
throw new NullPointerException("Missing required view with ID: ".concat(inflate.getResources().getResourceName(i)));
|
|
}
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
HBt(RemittanceSenderAddressReviewFragment remittanceSenderAddressReviewFragment) {
|
|
super(0);
|
|
this.e = remittanceSenderAddressReviewFragment;
|
|
}
|
|
}
|
|
|
|
@Override // androidx.fragment.app.Fragment
|
|
public final View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
|
|
C14957gcv.e(layoutInflater, "");
|
|
ConstraintLayout constraintLayout = ((Roo) this.c.e()).c;
|
|
C14957gcv.c(constraintLayout, "");
|
|
return constraintLayout;
|
|
}
|
|
|
|
@Override // androidx.fragment.app.Fragment
|
|
public final void onViewCreated(View view, Bundle bundle) {
|
|
C14957gcv.e(view, "");
|
|
super.onViewCreated(view, bundle);
|
|
final cDA cda = this.presenter;
|
|
if (cda == null) {
|
|
C14957gcv.a("");
|
|
cda = null;
|
|
}
|
|
cda.e((cDA) this);
|
|
if (cda.f != 0) {
|
|
cda.f.y();
|
|
}
|
|
BvD bvD = cda.e;
|
|
AbstractC13163fSk<LFv> n = bvD.c.n();
|
|
C14957gcv.c(n, "");
|
|
bvD.d(n, new fSQ(cda) { // from class: o.cDI
|
|
private cDA b;
|
|
|
|
@Override // o.fSQ
|
|
public final void c(Object obj) {
|
|
cDA.c(this.b, (LFv) obj);
|
|
}
|
|
|
|
{
|
|
this.b = cda;
|
|
}
|
|
}, new fSQ(cda) { // from class: o.cDL
|
|
private cDA e;
|
|
|
|
@Override // o.fSQ
|
|
public final void c(Object obj) {
|
|
cDA.b(this.e, (Throwable) obj);
|
|
}
|
|
|
|
{
|
|
this.e = cda;
|
|
}
|
|
});
|
|
((Roo) this.c.e()).a.setOnClickListener(new View.OnClickListener(this) { // from class: o.fyO
|
|
private RemittanceSenderAddressReviewFragment c;
|
|
|
|
@Override // android.view.View.OnClickListener
|
|
public final void onClick(View view2) {
|
|
RemittanceSenderAddressReviewFragment.e(this.c);
|
|
}
|
|
|
|
{
|
|
this.c = this;
|
|
}
|
|
});
|
|
((Roo) this.c.e()).e.setOnClickListener(new View.OnClickListener(this) { // from class: o.fyR
|
|
private RemittanceSenderAddressReviewFragment e;
|
|
|
|
@Override // android.view.View.OnClickListener
|
|
public final void onClick(View view2) {
|
|
RemittanceSenderAddressReviewFragment.c(this.e);
|
|
}
|
|
|
|
{
|
|
this.e = this;
|
|
}
|
|
});
|
|
huo<Intent> registerForActivityResult = registerForActivityResult(new C11560ehe.Sts(), new InterfaceC0834Plv(this) { // from class: o.fyM
|
|
private RemittanceSenderAddressReviewFragment c;
|
|
|
|
@Override // o.InterfaceC0834Plv
|
|
public final void d(Object obj) {
|
|
RemittanceSenderAddressReviewFragment.e(this.c, (Heg) obj);
|
|
}
|
|
|
|
{
|
|
this.c = this;
|
|
}
|
|
});
|
|
C14957gcv.c(registerForActivityResult, "");
|
|
this.f = registerForActivityResult;
|
|
huo<Intent> registerForActivityResult2 = registerForActivityResult(new C11560ehe.Sts(), new InterfaceC0834Plv(this) { // from class: o.fyK
|
|
private RemittanceSenderAddressReviewFragment d;
|
|
|
|
@Override // o.InterfaceC0834Plv
|
|
public final void d(Object obj) {
|
|
RemittanceSenderAddressReviewFragment.b(this.d, (Heg) obj);
|
|
}
|
|
|
|
{
|
|
this.d = this;
|
|
}
|
|
});
|
|
C14957gcv.c(registerForActivityResult2, "");
|
|
this.j = registerForActivityResult2;
|
|
huo<Intent> registerForActivityResult3 = registerForActivityResult(new C11560ehe.Sts(), new InterfaceC0834Plv(this) { // from class: o.fyN
|
|
private RemittanceSenderAddressReviewFragment b;
|
|
|
|
@Override // o.InterfaceC0834Plv
|
|
public final void d(Object obj) {
|
|
RemittanceSenderAddressReviewFragment.c(this.b, (Heg) obj);
|
|
}
|
|
|
|
{
|
|
this.b = this;
|
|
}
|
|
});
|
|
C14957gcv.c(registerForActivityResult3, "");
|
|
this.g = registerForActivityResult3;
|
|
}
|
|
|
|
/* JADX WARN: Code restructure failed: missing block: B:7:0x0021, code lost:
|
|
|
|
if (r1 == null) goto L10;
|
|
*/
|
|
@Override // o.InterfaceC9570dmI
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public final void d(o.VH r9) {
|
|
/*
|
|
r8 = this;
|
|
java.lang.String r0 = ""
|
|
o.C14957gcv.e(r9, r0)
|
|
android.os.Bundle r1 = r8.getArguments()
|
|
java.lang.String r2 = "STATE"
|
|
r3 = 0
|
|
if (r1 == 0) goto L23
|
|
r4 = -1
|
|
int r1 = r1.getInt(r2, r4)
|
|
if (r1 < 0) goto L1e
|
|
o.VD[] r4 = o.VD.values()
|
|
r1 = r4[r1]
|
|
java.lang.Enum r1 = (java.lang.Enum) r1
|
|
goto L1f
|
|
L1e:
|
|
r1 = r3
|
|
L1f:
|
|
o.VD r1 = (o.VD) r1
|
|
if (r1 != 0) goto L25
|
|
L23:
|
|
o.VD r1 = o.VD.NORMAL
|
|
L25:
|
|
android.content.Context r4 = r8.getContext()
|
|
if (r4 == 0) goto L60
|
|
o.huo<android.content.Intent> r4 = r8.g
|
|
if (r4 != 0) goto L33
|
|
o.C14957gcv.a(r0)
|
|
r4 = r3
|
|
L33:
|
|
com.scb.phone.view.activity.remittance.RemittanceRecipientDetailActivity$HBt r5 = com.scb.phone.view.activity.remittance.RemittanceRecipientDetailActivity.k
|
|
android.content.Context r5 = r8.requireContext()
|
|
o.C14957gcv.c(r5, r0)
|
|
o.C14957gcv.e(r5, r0)
|
|
o.C14957gcv.e(r1, r0)
|
|
android.content.Intent r6 = new android.content.Intent
|
|
java.lang.Class<com.scb.phone.view.activity.remittance.RemittanceRecipientDetailActivity> r7 = com.scb.phone.view.activity.remittance.RemittanceRecipientDetailActivity.class
|
|
r6.<init>(r5, r7)
|
|
java.lang.Enum r1 = (java.lang.Enum) r1
|
|
int r1 = r1.ordinal()
|
|
android.content.Intent r1 = r6.putExtra(r2, r1)
|
|
o.C14957gcv.c(r1, r0)
|
|
java.lang.String r0 = "display"
|
|
android.os.Parcelable r9 = (android.os.Parcelable) r9
|
|
r6.putExtra(r0, r9)
|
|
r4.d(r6, r3)
|
|
L60:
|
|
return
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.fragment.remittance.RemittanceSenderAddressReviewFragment.d(o.VH):void");
|
|
}
|
|
|
|
@Override // o.InterfaceC9570dmI
|
|
public final void c(String str) {
|
|
int i = 1;
|
|
((Roo) this.c.e()).a.setClickable(true);
|
|
TextView textView = ((Roo) this.c.e()).f;
|
|
if (str != null && (!gdZ.d((CharSequence) str))) {
|
|
i = Integer.MAX_VALUE;
|
|
}
|
|
textView.setMaxLines(i);
|
|
textView.setText(str);
|
|
}
|
|
|
|
@Override // o.InterfaceC9570dmI
|
|
public final void b(String str) {
|
|
CustomTextviewOutlineWithIcon customTextviewOutlineWithIcon = ((Roo) this.c.e()).b;
|
|
C14957gcv.c(customTextviewOutlineWithIcon, "");
|
|
CustomTextviewOutlineWithIcon customTextviewOutlineWithIcon2 = customTextviewOutlineWithIcon;
|
|
C14957gcv.e(customTextviewOutlineWithIcon2, "");
|
|
customTextviewOutlineWithIcon2.setVisibility(0);
|
|
customTextviewOutlineWithIcon.setValue(str);
|
|
customTextviewOutlineWithIcon.setCustomTextviewOutlineWithIconListener(new IeS(this));
|
|
}
|
|
|
|
/* loaded from: classes5.dex */
|
|
public static final class IeS implements CustomTextviewOutlineWithIcon.IeS {
|
|
private RemittanceSenderAddressReviewFragment a;
|
|
|
|
IeS(RemittanceSenderAddressReviewFragment remittanceSenderAddressReviewFragment) {
|
|
this.a = remittanceSenderAddressReviewFragment;
|
|
}
|
|
|
|
@Override // com.scb.phone.view.custom.common.CustomTextviewOutlineWithIcon.IeS
|
|
public final void a() {
|
|
RemittanceSenderAddressReviewFragment.b(this.a);
|
|
}
|
|
}
|
|
|
|
@Override // o.InterfaceC9570dmI
|
|
public final void b() {
|
|
CustomTextviewOutlineWithIcon customTextviewOutlineWithIcon = ((Roo) this.c.e()).b;
|
|
C14957gcv.c(customTextviewOutlineWithIcon, "");
|
|
CustomTextviewOutlineWithIcon customTextviewOutlineWithIcon2 = customTextviewOutlineWithIcon;
|
|
C14957gcv.e(customTextviewOutlineWithIcon2, "");
|
|
customTextviewOutlineWithIcon2.setVisibility(8);
|
|
}
|
|
|
|
@Override // o.InterfaceC9570dmI
|
|
public final void c(boolean z) {
|
|
((Roo) this.c.e()).e.setEnabled(z);
|
|
}
|
|
|
|
@Override // o.InterfaceC9570dmI
|
|
public final void a(UO uo) {
|
|
huo<Intent> huoVar = this.j;
|
|
if (huoVar == null) {
|
|
C14957gcv.a("");
|
|
huoVar = null;
|
|
}
|
|
RemittanceSenderAddressActivity.RVV rvv = RemittanceSenderAddressActivity.k;
|
|
Context requireContext = requireContext();
|
|
C14957gcv.c(requireContext, "");
|
|
C14957gcv.e(requireContext, "");
|
|
Intent intent = new Intent(requireContext, (Class<?>) RemittanceSenderAddressActivity.class);
|
|
intent.setFlags(603979776);
|
|
intent.putExtra("EXTRA_ADDRESS", uo);
|
|
huoVar.d(intent, null);
|
|
}
|
|
|
|
@Override // o.InterfaceC9570dmI
|
|
public final void e(List<String> list) {
|
|
C14957gcv.e(list, "");
|
|
((Roo) this.c.e()).d.setItemsWithOneItemCondition(list, false);
|
|
}
|
|
|
|
@Override // o.InterfaceC9570dmI
|
|
public final void c() {
|
|
FragmentActivity activity = getActivity();
|
|
if (activity != null) {
|
|
activity.finish();
|
|
}
|
|
}
|
|
|
|
@Override // com.scb.phone.view.fragment.BaseFragment, androidx.fragment.app.Fragment
|
|
public final void onDestroyView() {
|
|
cDA cda = this.presenter;
|
|
huo<Intent> huoVar = null;
|
|
if (cda == null) {
|
|
C14957gcv.a("");
|
|
cda = null;
|
|
}
|
|
cda.w_();
|
|
huo<Intent> huoVar2 = this.j;
|
|
if (huoVar2 == null) {
|
|
C14957gcv.a("");
|
|
huoVar2 = null;
|
|
}
|
|
huoVar2.e();
|
|
huo<Intent> huoVar3 = this.f;
|
|
if (huoVar3 == null) {
|
|
C14957gcv.a("");
|
|
huoVar3 = null;
|
|
}
|
|
huoVar3.e();
|
|
huo<Intent> huoVar4 = this.g;
|
|
if (huoVar4 == null) {
|
|
C14957gcv.a("");
|
|
} else {
|
|
huoVar = huoVar4;
|
|
}
|
|
huoVar.e();
|
|
super.onDestroyView();
|
|
}
|
|
|
|
public static /* synthetic */ void b(RemittanceSenderAddressReviewFragment remittanceSenderAddressReviewFragment, Heg heg) {
|
|
UO uo;
|
|
UO uo2;
|
|
UH uh;
|
|
Parcelable parcelable;
|
|
C14957gcv.e(remittanceSenderAddressReviewFragment, "");
|
|
C14957gcv.e(heg, "");
|
|
if (heg.e == -1) {
|
|
cDA cda = remittanceSenderAddressReviewFragment.presenter;
|
|
cDA cda2 = null;
|
|
if (cda == null) {
|
|
C14957gcv.a("");
|
|
cda = null;
|
|
}
|
|
Intent intent = heg.b;
|
|
if (intent != null) {
|
|
if (Build.VERSION.SDK_INT >= 33) {
|
|
Bundle extras = intent.getExtras();
|
|
parcelable = extras != null ? (Parcelable) extras.getParcelable("USER_ADDRESS_DISPLAY", UO.class) : null;
|
|
} else {
|
|
Bundle extras2 = intent.getExtras();
|
|
Parcelable parcelable2 = extras2 != null ? extras2.getParcelable("USER_ADDRESS_DISPLAY") : null;
|
|
if (!(parcelable2 instanceof UO)) {
|
|
parcelable2 = null;
|
|
}
|
|
parcelable = (UO) parcelable2;
|
|
}
|
|
uo = (UO) parcelable;
|
|
} else {
|
|
uo = null;
|
|
}
|
|
UO uo3 = cda.d;
|
|
String str = (uo3 == null || (uh = uo3.e) == null) ? null : uh.d;
|
|
if (uo != null) {
|
|
uo.e.d = str;
|
|
uo2 = uo;
|
|
} else {
|
|
uo2 = null;
|
|
}
|
|
cda.d = uo2;
|
|
cda.a(uo);
|
|
cDA cda3 = remittanceSenderAddressReviewFragment.presenter;
|
|
if (cda3 != null) {
|
|
cda2 = cda3;
|
|
} else {
|
|
C14957gcv.a("");
|
|
}
|
|
cDQ cdq = new cDQ(cda2.e(cda2.d));
|
|
if (cda2.f != 0) {
|
|
cdq.e(cda2.f);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ void c(RemittanceSenderAddressReviewFragment remittanceSenderAddressReviewFragment, Heg heg) {
|
|
C14957gcv.e(remittanceSenderAddressReviewFragment, "");
|
|
C14957gcv.e(heg, "");
|
|
if (heg.e == -1) {
|
|
Intent intent = heg.b;
|
|
boolean booleanExtra = intent != null ? intent.getBooleanExtra("EXTRA_IS_FROM_REVIEW", false) : false;
|
|
Intent intent2 = new Intent();
|
|
intent2.putExtra("EXTRA_IS_FROM_REVIEW", booleanExtra);
|
|
FragmentActivity activity = remittanceSenderAddressReviewFragment.getActivity();
|
|
if (activity != null) {
|
|
activity.setResult(-1, intent2);
|
|
activity.finish();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ void c(RemittanceSenderAddressReviewFragment remittanceSenderAddressReviewFragment) {
|
|
VH vh;
|
|
Parcelable parcelable;
|
|
C14957gcv.e(remittanceSenderAddressReviewFragment, "");
|
|
Bundle arguments = remittanceSenderAddressReviewFragment.getArguments();
|
|
cDA cda = null;
|
|
if (arguments != null) {
|
|
if (Build.VERSION.SDK_INT >= 33) {
|
|
parcelable = (Parcelable) arguments.getParcelable(CommonConstant.ReqAccessTokenParam.DISPLAY_LABEL, VH.class);
|
|
} else {
|
|
Parcelable parcelable2 = arguments.getParcelable(CommonConstant.ReqAccessTokenParam.DISPLAY_LABEL);
|
|
if (!(parcelable2 instanceof VH)) {
|
|
parcelable2 = null;
|
|
}
|
|
parcelable = (VH) parcelable2;
|
|
}
|
|
vh = (VH) parcelable;
|
|
} else {
|
|
vh = null;
|
|
}
|
|
if (vh != null) {
|
|
if (((Roo) remittanceSenderAddressReviewFragment.c.e()).d.c().length() == 0) {
|
|
cDA cda2 = remittanceSenderAddressReviewFragment.presenter;
|
|
if (cda2 != null) {
|
|
cda = cda2;
|
|
} else {
|
|
C14957gcv.a("");
|
|
}
|
|
String d2 = ((Roo) remittanceSenderAddressReviewFragment.c.e()).d.d();
|
|
cda.c(d2 != null ? d2 : "", vh);
|
|
return;
|
|
}
|
|
cDA cda3 = remittanceSenderAddressReviewFragment.presenter;
|
|
if (cda3 != null) {
|
|
cda = cda3;
|
|
} else {
|
|
C14957gcv.a("");
|
|
}
|
|
cda.c(((Roo) remittanceSenderAddressReviewFragment.c.e()).d.c(), vh);
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ void e(RemittanceSenderAddressReviewFragment remittanceSenderAddressReviewFragment, Heg heg) {
|
|
Intent intent;
|
|
Parcelable parcelable;
|
|
C14957gcv.e(remittanceSenderAddressReviewFragment, "");
|
|
C14957gcv.e(heg, "");
|
|
if (heg.e != -1 || (intent = heg.b) == null) {
|
|
return;
|
|
}
|
|
cDA cda = null;
|
|
if (Build.VERSION.SDK_INT >= 33) {
|
|
Bundle extras = intent.getExtras();
|
|
parcelable = extras != null ? (Parcelable) extras.getParcelable("COMMON_INPUT_DATA_EXTRA", C0520Io.class) : null;
|
|
} else {
|
|
Bundle extras2 = intent.getExtras();
|
|
Parcelable parcelable2 = extras2 != null ? extras2.getParcelable("COMMON_INPUT_DATA_EXTRA") : null;
|
|
if (!(parcelable2 instanceof C0520Io)) {
|
|
parcelable2 = null;
|
|
}
|
|
parcelable = (C0520Io) parcelable2;
|
|
}
|
|
C0520Io c0520Io = (C0520Io) parcelable;
|
|
if (c0520Io != null) {
|
|
cDA cda2 = remittanceSenderAddressReviewFragment.presenter;
|
|
if (cda2 == null) {
|
|
C14957gcv.a("");
|
|
cda2 = null;
|
|
}
|
|
String str = c0520Io.e;
|
|
UO uo = cda2.d;
|
|
UH uh = uo != null ? uo.e : null;
|
|
if (uh != null) {
|
|
uh.d = str;
|
|
}
|
|
((Roo) remittanceSenderAddressReviewFragment.c.e()).b.setValue(c0520Io.e);
|
|
cDA cda3 = remittanceSenderAddressReviewFragment.presenter;
|
|
if (cda3 != null) {
|
|
cda = cda3;
|
|
} else {
|
|
C14957gcv.a("");
|
|
}
|
|
cDQ cdq = new cDQ(cda.e(cda.d));
|
|
if (cda.f != 0) {
|
|
cdq.e(cda.f);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ void e(RemittanceSenderAddressReviewFragment remittanceSenderAddressReviewFragment) {
|
|
C14957gcv.e(remittanceSenderAddressReviewFragment, "");
|
|
final cDA cda = remittanceSenderAddressReviewFragment.presenter;
|
|
if (cda == null) {
|
|
C14957gcv.a("");
|
|
cda = null;
|
|
}
|
|
ZI.IeS ieS = new ZI.IeS(cda) { // from class: o.cDE
|
|
private cDA a;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
cDA.a(this.a, (InterfaceC9570dmI) obj);
|
|
}
|
|
|
|
{
|
|
this.a = cda;
|
|
}
|
|
};
|
|
if (cda.f != 0) {
|
|
ieS.e(cda.f);
|
|
}
|
|
}
|
|
}
|