what-the-bank/sources/com/scb/phone/view/fragment/ccsof/CcSofBillPaymentOnlyFragmen...

167 lines
5.8 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.fragment.ccsof;
import android.os.Bundle;
import android.widget.FrameLayout;
import butterknife.BindView;
import com.scb.phone.R;
import com.scb.phone.view.fragment.ccsof.CcSofBillPaymentInputFragment;
import com.scb.phone.view.fragment.transferandpay.AccountSourceSelectFragment;
import o.AbstractC13482fbE;
import o.C1171Xc;
import o.C1193Xr;
import o.C14957gcv;
import o.C3329avW;
import o.InterfaceC13391fZD;
import o.InterfaceC9057dcY;
import o.MBB;
import o.WW;
import o.YE;
import o.YY;
import o.ZI;
/* loaded from: classes5.dex */
public final class CcSofBillPaymentOnlyFragment extends Hilt_CcSofBillPaymentOnlyFragment implements InterfaceC9057dcY.HBt, AccountSourceSelectFragment.Sts {
public static final RVV c = new RVV(0);
private AccountSourceSelectFragment d;
private CcSofBillPaymentInputFragment g;
@BindView
public FrameLayout inputContainer;
@InterfaceC13391fZD
public C3329avW presenter;
@BindView
public FrameLayout sourceOfFundContainer;
/* loaded from: classes5.dex */
public static final class RVV {
private RVV() {
}
public /* synthetic */ RVV(byte b) {
this();
}
}
/* JADX WARN: Code restructure failed: missing block: B:21:0x0075, code lost:
if (r1 == null) goto L29;
*/
@Override // androidx.fragment.app.Fragment
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final android.view.View onCreateView(android.view.LayoutInflater r11, android.view.ViewGroup r12, android.os.Bundle r13) {
/*
Method dump skipped, instructions count: 252
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.fragment.ccsof.CcSofBillPaymentOnlyFragment.onCreateView(android.view.LayoutInflater, android.view.ViewGroup, android.os.Bundle):android.view.View");
}
@Override // com.scb.phone.view.fragment.BaseFragment, androidx.fragment.app.Fragment
public final void onDestroy() {
C3329avW c3329avW = this.presenter;
if (c3329avW == null) {
C14957gcv.a("");
c3329avW = null;
}
c3329avW.w_();
super.onDestroy();
}
@Override // o.InterfaceC9057dcY.HBt
public final void b() {
if (this.d == null) {
C1171Xc.IeS ieS = new C1171Xc.IeS(YE.TRANSFER_FUNCTION);
ieS.c.g = false;
ieS.c.j = false;
AccountSourceSelectFragment b = AccountSourceSelectFragment.b(ieS.c);
C14957gcv.c(b, "");
this.d = b;
}
AbstractC13482fbE a = getChildFragmentManager().a();
AccountSourceSelectFragment accountSourceSelectFragment = this.d;
if (accountSourceSelectFragment == null) {
C14957gcv.a("");
accountSourceSelectFragment = null;
}
a.b(R.id.source_of_fund_container, accountSourceSelectFragment, null, 2);
a.b();
}
@Override // o.InterfaceC9057dcY.HBt
public final void d(C1193Xr c1193Xr, MBB mbb, String str, String str2, YY yy) {
C14957gcv.e(c1193Xr, "");
C14957gcv.e(mbb, "");
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
C14957gcv.e(yy, "");
if (this.g == null) {
CcSofBillPaymentInputFragment.RVV rvv = CcSofBillPaymentInputFragment.d;
C14957gcv.e(c1193Xr, "");
C14957gcv.e(mbb, "");
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
C14957gcv.e(yy, "");
CcSofBillPaymentInputFragment ccSofBillPaymentInputFragment = new CcSofBillPaymentInputFragment();
Bundle bundle = new Bundle();
bundle.putParcelable("com.scb.phone.EXTRA_BILL_PAYMENT_DISPLAY", c1193Xr);
bundle.putSerializable("com.scb.phone.EXTRA_BILL_PAY_METHOD", mbb);
bundle.putString("source", str);
bundle.putString("EXTRA_BILL_PAYMENT_PARTNER_SUBTYPE", str2);
bundle.putSerializable("com.scb.phone.EXTRA_PAYMENT_FLOW_TYPE", yy);
ccSofBillPaymentInputFragment.setArguments(bundle);
this.g = ccSofBillPaymentInputFragment;
}
AbstractC13482fbE a = getChildFragmentManager().a();
CcSofBillPaymentInputFragment ccSofBillPaymentInputFragment2 = this.g;
if (ccSofBillPaymentInputFragment2 == null) {
C14957gcv.a("");
ccSofBillPaymentInputFragment2 = null;
}
a.b(R.id.input_container, ccSofBillPaymentInputFragment2, null, 2);
a.b();
}
@Override // o.InterfaceC9057dcY.HBt
public final void b(WW ww) {
C14957gcv.e(ww, "");
CcSofBillPaymentInputFragment ccSofBillPaymentInputFragment = this.g;
if (ccSofBillPaymentInputFragment == null) {
C14957gcv.a("");
ccSofBillPaymentInputFragment = null;
}
ccSofBillPaymentInputFragment.a(ww);
}
@Override // com.scb.phone.view.fragment.transferandpay.AccountSourceSelectFragment.Sts
public final void a(final WW ww) {
C3329avW c3329avW = this.presenter;
if (c3329avW == null) {
C14957gcv.a("");
c3329avW = null;
}
if (ww != null) {
c3329avW.a = ww;
ZI.IeS ieS = new ZI.IeS(ww) { // from class: o.avX
private WW b;
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9057dcY.HBt) obj).b(this.b);
}
{
this.b = ww;
}
};
if (c3329avW.f != 0) {
ieS.e(c3329avW.f);
}
}
}
}