what-the-bank/sources/com/scb/phone/view/fragment/parntner/nsip/NsipPaymentAddAccountFragme...

98 lines
3.1 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.fragment.parntner.nsip;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import butterknife.ButterKnife;
import butterknife.OnClick;
import com.scb.phone.R;
import com.scb.phone.view.activity.investment.scbs.AddAccountConsentActivity;
import com.scb.phone.view.adapter.accountsummary.ErrorPagerAdapter;
import com.scb.phone.view.fragment.BaseFragment;
import com.scb.phone.view.fragment.transferandpay.AccountSourceSelectFragment;
import o.AbstractC13482fbE;
import o.C1171Xc;
import o.C14957gcv;
import o.C7209cjv;
import o.InterfaceC13391fZD;
import o.InterfaceC9472dkQ;
import o.ZI;
/* loaded from: classes5.dex */
public final class NsipPaymentAddAccountFragment extends Hilt_NsipPaymentAddAccountFragment implements InterfaceC9472dkQ.Sts {
public static final Sts d = new Sts(0);
@InterfaceC13391fZD
public C7209cjv presenter;
/* loaded from: classes5.dex */
public static final class Sts {
private Sts() {
}
public /* synthetic */ Sts(byte b) {
this();
}
}
@Override // androidx.fragment.app.Fragment
public final View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
C14957gcv.e(layoutInflater, "");
return layoutInflater.inflate(R.layout.2131559790, viewGroup, false);
}
@Override // androidx.fragment.app.Fragment
public final void onViewCreated(View view, Bundle bundle) {
C14957gcv.e(view, "");
super.onViewCreated(view, bundle);
((BaseFragment) this).a = ButterKnife.c(this, view);
C7209cjv c7209cjv = this.presenter;
C7209cjv c7209cjv2 = null;
if (c7209cjv == null) {
C14957gcv.a("");
c7209cjv = null;
}
c7209cjv.e((C7209cjv) this);
C7209cjv c7209cjv3 = this.presenter;
if (c7209cjv3 != null) {
c7209cjv2 = c7209cjv3;
} else {
C14957gcv.a("");
}
ZI.IeS ieS = new ZI.IeS() { // from class: o.cjx
@Override // o.ZI.IeS
public final void e(Object obj) {
C7209cjv.b((InterfaceC9472dkQ.Sts) obj);
}
};
if (c7209cjv2.f != 0) {
ieS.e(c7209cjv2.f);
}
}
@Override // o.InterfaceC9472dkQ.Sts
public final void b(C1171Xc c1171Xc) {
C14957gcv.e(c1171Xc, "");
AbstractC13482fbE a = getChildFragmentManager().a();
a.b(R.id.fragment_account_source_select, AccountSourceSelectFragment.d(c1171Xc, ErrorPagerAdapter.LWm.AUTO_RESIZE_MESSAGE_ERROR), null, 2);
a.b();
}
@OnClick
public final void navigateToAddAccountPage() {
AddAccountConsentActivity.a(getContext());
}
@Override // com.scb.phone.view.fragment.BaseFragment, androidx.fragment.app.Fragment
public final void onDestroy() {
C7209cjv c7209cjv = this.presenter;
if (c7209cjv == null) {
C14957gcv.a("");
c7209cjv = null;
}
c7209cjv.w_();
super.onDestroy();
}
}