what-the-bank/sources/com/scb/phone/view/fragment/bankingagent/BankingAgentsFragment.java

89 lines
2.7 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.fragment.bankingagent;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import butterknife.ButterKnife;
import com.scb.phone.R;
import o.C14957gcv;
import o.C2607ahm;
import o.InterfaceC13391fZD;
import o.InterfaceC6624cYb;
/* loaded from: classes5.dex */
public final class BankingAgentsFragment extends Hilt_BankingAgentsFragment implements InterfaceC6624cYb.Sts {
public static final Sts c = new Sts(0);
@InterfaceC13391fZD
public C2607ahm presenter;
/* loaded from: classes5.dex */
public static final class Sts {
private Sts() {
}
public static BankingAgentsFragment a(String str) {
C14957gcv.e(str, "");
BankingAgentsFragment bankingAgentsFragment = new BankingAgentsFragment();
Bundle bundle = new Bundle();
bundle.putString("com.scb.phone.EXTRA_POSTING_TYPE", str);
bankingAgentsFragment.setArguments(bundle);
return bankingAgentsFragment;
}
public /* synthetic */ Sts(byte b) {
this();
}
}
@Override // androidx.fragment.app.Fragment
public final View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
String string;
C14957gcv.e(layoutInflater, "");
View inflate = layoutInflater.inflate(R.layout.2131559459, viewGroup, false);
ButterKnife.c(this, inflate);
C2607ahm c2607ahm = this.presenter;
C2607ahm c2607ahm2 = null;
if (c2607ahm == null) {
C14957gcv.a("");
c2607ahm = null;
}
c2607ahm.e((C2607ahm) this);
Bundle arguments = getArguments();
if (arguments != null && (string = arguments.getString("com.scb.phone.EXTRA_POSTING_TYPE")) != null) {
C2607ahm c2607ahm3 = this.presenter;
if (c2607ahm3 != null) {
c2607ahm2 = c2607ahm3;
} else {
C14957gcv.a("");
}
C14957gcv.e(string, "");
c2607ahm2.b = string;
c2607ahm2.d();
}
return inflate;
}
@Override // com.scb.phone.view.fragment.bankingagent.BaseBankingAgentsFragment
public final void d() {
C2607ahm c2607ahm = this.presenter;
if (c2607ahm == null) {
C14957gcv.a("");
c2607ahm = null;
}
c2607ahm.d();
}
@Override // com.scb.phone.view.fragment.BaseFragment, androidx.fragment.app.Fragment
public final void onDestroy() {
C2607ahm c2607ahm = this.presenter;
if (c2607ahm == null) {
C14957gcv.a("");
c2607ahm = null;
}
c2607ahm.w_();
super.onDestroy();
}
}