what-the-bank/sources/com/scb/phone/view/fragment/remittance/RemittanceSuccessFragment.java

835 lines
33 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.fragment.remittance;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import android.os.Parcelable;
import android.text.Editable;
import android.text.InputFilter;
import android.text.TextUtils;
import android.text.TextWatcher;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.TextView;
import androidx.appcompat.widget.AppCompatImageView;
import androidx.core.widget.NestedScrollView;
import androidx.fragment.app.FragmentActivity;
import com.scb.phone.R;
import com.scb.phone.view.activity.BaseActivity;
import com.scb.phone.view.activity.HomeActivity;
import com.scb.phone.view.custom.common.CustomInputDialog;
import com.scb.phone.view.custom.common.ThaiTextView;
import com.scb.phone.view.custom.transferandpay.CustomTransferAndPaySource;
import com.scb.phone.view.custom.transferandpay.CustomTransferAndPayTarget;
import com.scb.phone.view.fragment.remittance.RemittanceSuccessFragment;
import java.util.Arrays;
import java.util.Calendar;
import o.AbstractC13163fSk;
import o.AbstractC14961gcz;
import o.C0693Mj;
import o.C10188dy;
import o.C10436eE;
import o.C1099Vp;
import o.C1114Vy;
import o.C13417fZt;
import o.C14775fza;
import o.C14866gag;
import o.C14957gcv;
import o.C5917cDV;
import o.C6204cLu;
import o.C6583cXR;
import o.EnumC8951daY;
import o.InterfaceC13391fZD;
import o.InterfaceC14894gbR;
import o.InterfaceC9568dmG;
import o.VG;
import o.YHT;
import o.ZI;
import o.cDP;
import o.eBM;
import o.fKY;
import o.fNS;
import o.fRR;
import o.fSJ;
import o.fSQ;
import o.gcH;
import o.gjJ;
import o.iRl;
import o.nMh;
import o.qeC;
import org.jmrtd.lds.ImageInfo;
/* loaded from: classes5.dex */
public final class RemittanceSuccessFragment extends Hilt_RemittanceSuccessFragment implements InterfaceC9568dmG {
public static final HBt c = new HBt(0);
private fNS d;
private CustomInputDialog f;
private C1114Vy g;
private fSJ h;
private final Sts j = new Sts(this);
@InterfaceC13391fZD
public cDP presenter;
@InterfaceC13391fZD
public C6204cLu themesSlipPresenter;
/* loaded from: classes5.dex */
public static final class HBt {
private HBt() {
}
public /* synthetic */ HBt(byte b) {
this();
}
}
@Override // androidx.fragment.app.Fragment
public final void onViewCreated(View view, Bundle bundle) {
C14957gcv.e(view, "");
super.onViewCreated(view, bundle);
cDP cdp = this.presenter;
if (cdp == null) {
C14957gcv.a("");
cdp = null;
}
cdp.e((cDP) this);
v("outward_remittance_request_successful");
fNS fns = this.d;
C14957gcv.e(fns);
fns.a.setOnClickListener(new View.OnClickListener(this) { // from class: o.fyP
private RemittanceSuccessFragment b;
@Override // android.view.View.OnClickListener
public final void onClick(View view2) {
RemittanceSuccessFragment.a(this.b);
}
{
this.b = this;
}
});
fns.d.setOnClickListener(new View.OnClickListener(this) { // from class: o.fyV
private RemittanceSuccessFragment a;
@Override // android.view.View.OnClickListener
public final void onClick(View view2) {
RemittanceSuccessFragment.e(this.a);
}
{
this.a = this;
}
});
fns.g.k.setAddFavoriteButtonOnClickListener(new View.OnClickListener(this) { // from class: o.fyY
private RemittanceSuccessFragment b;
@Override // android.view.View.OnClickListener
public final void onClick(View view2) {
RemittanceSuccessFragment.b(this.b);
}
{
this.b = this;
}
});
fns.c.setOnClickListener(new View.OnClickListener(this) { // from class: o.fyX
private RemittanceSuccessFragment d;
@Override // android.view.View.OnClickListener
public final void onClick(View view2) {
RemittanceSuccessFragment.c(this.d);
}
{
this.d = this;
}
});
}
@Override // com.scb.phone.view.fragment.BaseFragment, androidx.fragment.app.Fragment
public final void onActivityCreated(Bundle bundle) {
Parcelable parcelable;
C1114Vy c1114Vy;
super.onActivityCreated(bundle);
Bundle arguments = getArguments();
if (arguments != null) {
cDP cdp = null;
if (Build.VERSION.SDK_INT >= 33) {
parcelable = (Parcelable) arguments.getParcelable("EXTRA_REMITTANCE_SUCCESS_DISPLAY", C1114Vy.class);
} else {
Parcelable parcelable2 = arguments.getParcelable("EXTRA_REMITTANCE_SUCCESS_DISPLAY");
if (!(parcelable2 instanceof C1114Vy)) {
parcelable2 = null;
}
parcelable = (C1114Vy) parcelable2;
}
final C1114Vy c1114Vy2 = (C1114Vy) parcelable;
this.g = c1114Vy2;
if (c1114Vy2 != null) {
cDP cdp2 = this.presenter;
if (cdp2 != null) {
cdp = cdp2;
} else {
C14957gcv.a("");
}
C14957gcv.e(c1114Vy2, "");
cdp.e = c1114Vy2;
ZI.IeS ieS = new ZI.IeS(c1114Vy2) { // from class: o.cDT
private C1114Vy c;
@Override // o.ZI.IeS
public final void e(Object obj) {
cDP.a(this.c, (InterfaceC9568dmG) obj);
}
{
this.c = c1114Vy2;
}
};
if (cdp.f != 0) {
ieS.e(cdp.f);
}
final boolean V = cdp.c.a.V();
ZI.IeS ieS2 = new ZI.IeS(V) { // from class: o.cDX
private boolean e;
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9568dmG) obj).d(this.e);
}
{
this.e = V;
}
};
if (cdp.f != 0) {
ieS2.e(cdp.f);
}
if (!V || (c1114Vy = cdp.e) == null) {
return;
}
C5917cDV c5917cDV = new C5917cDV(c1114Vy);
if (cdp.f != 0) {
c5917cDV.e(cdp.f);
}
}
}
}
@Override // com.scb.phone.view.fragment.BaseFragment, androidx.fragment.app.Fragment
public final void onDestroyView() {
super.onDestroyView();
cDP cdp = this.presenter;
if (cdp == null) {
C14957gcv.a("");
cdp = null;
}
cdp.d.c.c();
fSJ fsj = this.h;
if (fsj != null && !fsj.isDisposed()) {
fsj.dispose();
}
this.d = null;
}
@Override // o.InterfaceC9568dmG
public final void d(boolean z) {
fNS fns = this.d;
C14957gcv.e(fns);
if (z) {
Button button = fns.a;
C14957gcv.c(button, "");
Button button2 = button;
C14957gcv.e(button2, "");
button2.setVisibility(8);
View view = fns.b;
C14957gcv.c(view, "");
C14957gcv.e(view, "");
view.setVisibility(8);
return;
}
Button button3 = fns.a;
C14957gcv.c(button3, "");
Button button4 = button3;
C14957gcv.e(button4, "");
button4.setVisibility(0);
View view2 = fns.b;
C14957gcv.c(view2, "");
C14957gcv.e(view2, "");
view2.setVisibility(0);
}
public final void c(C1114Vy c1114Vy, boolean z) {
C14957gcv.e(c1114Vy, "");
Context context = getContext();
if (context != null) {
C6204cLu c6204cLu = this.themesSlipPresenter;
if (c6204cLu == null) {
C14957gcv.a("");
c6204cLu = null;
}
SlipScreenshot slipScreenshot = new SlipScreenshot(c6204cLu);
gcH gch = gcH.d;
String string = getString(R.string.remittance_success_slip_file_name);
C14957gcv.c((Object) string, "");
String format = String.format(string, Arrays.copyOf(new Object[]{String.valueOf(Calendar.getInstance().getTimeInMillis())}, 1));
C14957gcv.c((Object) format, "");
AbstractC13163fSk subscribeOn = AbstractC13163fSk.fromCallable(new fKY(slipScreenshot, new VG(context, format, z, c1114Vy), getActivity())).observeOn(fRR.e()).subscribeOn(C13417fZt.b());
final IeS ieS = new IeS(this, z);
this.h = subscribeOn.subscribe(new fSQ(ieS) { // from class: o.fyT
private InterfaceC14894gbR d;
@Override // o.fSQ
public final void c(Object obj) {
RemittanceSuccessFragment.a(this.d, obj);
}
{
this.d = ieS;
}
});
}
}
/* loaded from: classes5.dex */
static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR<Uri, C14866gag> {
private RemittanceSuccessFragment b;
private boolean d;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Uri uri) {
Uri uri2 = uri;
cDP cdp = this.b.presenter;
if (cdp == null) {
C14957gcv.a("");
cdp = null;
}
final String obj = uri2.toString();
C14957gcv.c((Object) obj, "");
final boolean z = this.d;
C14957gcv.e(obj, "");
boolean z2 = !gjJ.b((CharSequence) obj);
ZI.IeS ieS = new ZI.IeS(z, obj) { // from class: o.cDW
private String a;
private boolean c;
@Override // o.ZI.IeS
public final void e(Object obj2) {
cDP.a(this.c, this.a, (InterfaceC9568dmG) obj2);
}
{
this.c = z;
this.a = obj;
}
};
if (z2 && cdp.f != 0) {
ieS.e(cdp.f);
}
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
IeS(RemittanceSuccessFragment remittanceSuccessFragment, boolean z) {
super(1);
this.b = remittanceSuccessFragment;
this.d = z;
}
}
@Override // o.InterfaceC9568dmG
public final void c(String str) {
C14957gcv.e(str, "");
if (gjJ.b((CharSequence) str) || !getUserVisibleHint() || getActivity() == null) {
return;
}
b(R.string.saved_slip, EnumC8951daY.SUCCESS);
}
@Override // o.InterfaceC9568dmG
public final void a(String str) {
C14957gcv.e(str, "");
v("share_slip_action");
Intent intent = new Intent("android.intent.action.SEND");
intent.setType(ImageInfo.JPEG_MIME_TYPE);
intent.addFlags(1);
intent.putExtra("android.intent.extra.STREAM", Uri.parse(str));
startActivity(Intent.createChooser(intent, getString(R.string.share_slip)));
}
@Override // o.InterfaceC9568dmG
public final void b(String str) {
C14957gcv.e(str, "");
b(R.string.favourite_added_successfully, EnumC8951daY.SUCCESS);
CustomInputDialog customInputDialog = this.f;
if (customInputDialog != null) {
customInputDialog.dismiss();
}
g().setFavoriteName(str);
g().setAddFavoriteButtonVisible(false);
}
public final void f() {
if (isDetached() || getContext() == null) {
return;
}
cDP cdp = this.presenter;
if (cdp == null) {
C14957gcv.a("");
cdp = null;
}
final C1114Vy c1114Vy = cdp.e;
if (c1114Vy != null) {
ZI.IeS ieS = new ZI.IeS(c1114Vy) { // from class: o.cDU
private C1114Vy d;
@Override // o.ZI.IeS
public final void e(Object obj) {
cDP.e(this.d, (InterfaceC9568dmG) obj);
}
{
this.d = c1114Vy;
}
};
if (cdp.f != 0) {
ieS.e(cdp.f);
}
}
}
public final void d() {
if (isDetached() || getContext() == null) {
return;
}
cDP cdp = this.presenter;
if (cdp == null) {
C14957gcv.a("");
cdp = null;
}
C1114Vy c1114Vy = cdp.e;
if (c1114Vy != null) {
C5917cDV c5917cDV = new C5917cDV(c1114Vy);
if (cdp.f != 0) {
c5917cDV.e(cdp.f);
}
}
}
@Override // androidx.fragment.app.Fragment
public final void onRequestPermissionsResult(int i, String[] strArr, int[] iArr) {
C14957gcv.e(strArr, "");
C14957gcv.e(iArr, "");
super.onRequestPermissionsResult(i, strArr, iArr);
C14775fza.a(this, i, iArr);
}
/* loaded from: classes5.dex */
public static final class Sts implements TextWatcher {
private RemittanceSuccessFragment b;
Sts(RemittanceSuccessFragment remittanceSuccessFragment) {
this.b = remittanceSuccessFragment;
}
@Override // android.text.TextWatcher
public final void afterTextChanged(Editable editable) {
C14957gcv.e(editable, "");
CustomInputDialog customInputDialog = this.b.f;
if (customInputDialog != null) {
customInputDialog.mErrorTextView.setVisibility(8);
}
}
@Override // android.text.TextWatcher
public final void onTextChanged(CharSequence charSequence, int i, int i2, int i3) {
C14957gcv.e(charSequence, "");
}
@Override // android.text.TextWatcher
public final void beforeTextChanged(CharSequence charSequence, int i, int i2, int i3) {
C14957gcv.e(charSequence, "");
}
}
private final void b(int i, EnumC8951daY enumC8951daY) {
FragmentActivity activity = getActivity();
if (activity != null) {
FragmentActivity fragmentActivity = activity;
String string = getString(i);
if (getActivity() != null) {
BaseActivity.a(new Object[]{(BaseActivity) getActivity(), fragmentActivity, Integer.valueOf(R.id.root_view), string, enumC8951daY}, 855668825, -855668822, R.id.root_view);
}
}
}
public static /* synthetic */ void a(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
C14957gcv.e(interfaceC14894gbR, "");
interfaceC14894gbR.invoke(obj);
}
public static /* synthetic */ void c(RemittanceSuccessFragment remittanceSuccessFragment) {
C14957gcv.e(remittanceSuccessFragment, "");
FragmentActivity activity = remittanceSuccessFragment.getActivity();
if (activity != null) {
if (!HomeActivity.r()) {
activity.finishAffinity();
}
Intent putExtra = new Intent(remittanceSuccessFragment.getContext(), (Class<?>) HomeActivity.class).addFlags(603979776).putExtra("com.scb.phone.EXTRA_NEW_INSTANCE_LAYOUT", R.id.account_summary_tab).putExtra("com.scb.phone.EXTRA_NEW_INSTANCE_REFRESH", true);
C14957gcv.c(putExtra, "");
activity.startActivity(putExtra);
}
}
public static /* synthetic */ void e(RemittanceSuccessFragment remittanceSuccessFragment) {
C14957gcv.e(remittanceSuccessFragment, "");
if (remittanceSuccessFragment.getActivity() != null) {
if (BaseActivity.P()) {
C14775fza.c(remittanceSuccessFragment);
return;
}
}
C14775fza.d(remittanceSuccessFragment);
}
public static /* synthetic */ void b(final RemittanceSuccessFragment remittanceSuccessFragment) {
CustomInputDialog customInputDialog;
C14957gcv.e(remittanceSuccessFragment, "");
CustomInputDialog b = CustomInputDialog.b(remittanceSuccessFragment.getContext());
String string = remittanceSuccessFragment.getString(R.string.favourite_name);
if (string != null) {
b.mTitleTextView.setVisibility(0);
b.mTitleTextView.setText(string);
}
b.mEditTextView.addTextChangedListener(remittanceSuccessFragment.j);
b.mEditTextView.setFilters(new InputFilter[]{new InputFilter.LengthFilter(20)});
b.setCanceledOnTouchOutside(false);
b.mEditTextView.setVisibility(0);
b.apc_(R.string.cancel, new DialogInterface.OnClickListener() { // from class: o.fyW
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i) {
dialogInterface.dismiss();
}
});
String string2 = remittanceSuccessFragment.getString(R.string.add_favourite);
DialogInterface.OnClickListener onClickListener = new DialogInterface.OnClickListener(remittanceSuccessFragment) { // from class: o.fyU
private RemittanceSuccessFragment c;
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i) {
RemittanceSuccessFragment.d(this.c);
}
{
this.c = remittanceSuccessFragment;
}
};
if (string2 != null) {
b.mPositiveButton.setText(string2);
b.mPositiveButton.setOnClickListener(new eBM(b, onClickListener, false));
}
remittanceSuccessFragment.f = b;
if (!remittanceSuccessFragment.isAdded() || remittanceSuccessFragment.getContext() == null || (customInputDialog = remittanceSuccessFragment.f) == null) {
return;
}
customInputDialog.show();
}
public static /* synthetic */ void d(RemittanceSuccessFragment remittanceSuccessFragment) {
C14957gcv.e(remittanceSuccessFragment, "");
CustomInputDialog customInputDialog = remittanceSuccessFragment.f;
cDP cdp = null;
String valueOf = customInputDialog != null ? String.valueOf(customInputDialog.mEditTextView.getText()) : null;
if (valueOf != null) {
if (((Boolean) C6583cXR.c(new Object[]{valueOf}, -1032102340, 1032102340, (int) System.currentTimeMillis())).booleanValue()) {
cDP cdp2 = remittanceSuccessFragment.presenter;
if (cdp2 != null) {
cdp = cdp2;
} else {
C14957gcv.a("");
}
C1114Vy c1114Vy = remittanceSuccessFragment.g;
C14957gcv.e(valueOf, "");
if (c1114Vy != null) {
C10188dy c10188dy = new C10188dy();
c10188dy.E = valueOf;
c10188dy.z = c1114Vy.b.b;
c10188dy.A = "REMITTANCE";
c10188dy.J = "ALL";
C10436eE m = cdp.d.c.m();
if (m != null) {
c10188dy.h = m.l;
c10188dy.f = m.g;
c10188dy.j = m.j;
c10188dy.n = m.f8955o;
c10188dy.u = m.x;
c10188dy.a = m.c;
c10188dy.c = m.a;
c10188dy.e = m.d;
c10188dy.y = m.A;
c10188dy.C = m.z;
c10188dy.l = m.m;
c10188dy.p = m.t;
c10188dy.q = m.r;
c10188dy.s = m.q;
c10188dy.k = m.p;
c10188dy.b = m.b;
c10188dy.g = m.i;
c10188dy.x = m.w;
c10188dy.w = m.y;
c10188dy.i = m.f;
c10188dy.t = m.v;
c10188dy.f8928o = m.n;
c10188dy.v = m.u;
c10188dy.m = m.k;
c10188dy.r = m.s;
c10188dy.d = m.e;
}
if (cdp.f != 0) {
cdp.f.y();
}
cdp.c.c(c10188dy);
iRl irl = cdp.c;
String str = c10188dy.E;
C14957gcv.c((Object) str, "");
irl.d(irl.i, new cDP.IeS(cdp, str));
return;
}
return;
}
CustomInputDialog customInputDialog2 = remittanceSuccessFragment.f;
if (customInputDialog2 != null) {
String string = remittanceSuccessFragment.getString(R.string.favorite_invalid_character);
customInputDialog2.mErrorTextView.setVisibility(0);
customInputDialog2.mErrorTextView.setText(string);
}
}
}
@Override // o.InterfaceC9568dmG
public final void c(C0693Mj c0693Mj) {
C14957gcv.e(c0693Mj, "");
CustomInputDialog customInputDialog = this.f;
if (customInputDialog != null) {
String str = c0693Mj.c;
if (str.length() == 0) {
str = c0693Mj.d;
}
customInputDialog.mErrorTextView.setVisibility(0);
customInputDialog.mErrorTextView.setText(str);
}
}
@Override // o.InterfaceC9568dmG
public final void a(C1114Vy c1114Vy) {
String str;
C14957gcv.e(c1114Vy, "");
boolean z = c1114Vy.i;
String str2 = c1114Vy.s;
String str3 = c1114Vy.t;
fNS fns = this.d;
C14957gcv.e(fns);
fns.k.setText(str2);
fns.f.setText(str3);
if (z) {
TextView textView = fns.h;
textView.setText(getString(R.string.remittance_request_success_header_title));
textView.setTextColor(nMh.getColor(textView.getContext(), R.color.f13612131100869));
AppCompatImageView appCompatImageView = fns.e;
appCompatImageView.setImageDrawable(nMh.getDrawable(appCompatImageView.getContext(), R.drawable.timer));
appCompatImageView.setColorFilter(nMh.getColor(appCompatImageView.getContext(), R.color.f13612131100869));
TextView textView2 = fns.n;
C14957gcv.c(textView2, "");
TextView textView3 = textView2;
C14957gcv.e(textView3, "");
textView3.setVisibility(0);
} else {
TextView textView4 = fns.n;
C14957gcv.c(textView4, "");
TextView textView5 = textView4;
C14957gcv.e(textView5, "");
textView5.setVisibility(8);
}
C1099Vp c1099Vp = c1114Vy.b;
CustomTransferAndPaySource j = j();
C14957gcv.e(j, "");
j.setVisibility(0);
j().setSourceName(c1099Vp.a);
j().setDivider(false);
CustomTransferAndPaySource j2 = j();
if (c1099Vp.e.length() > 0) {
str = c1099Vp.e;
} else {
str = c1099Vp.b;
}
j2.setAccountNumber(str);
CustomTransferAndPaySource j3 = j();
String str4 = c1099Vp.c;
if (str4 == null) {
str4 = "";
}
j3.setAvatar(str4);
CustomTransferAndPayTarget g = g();
C14957gcv.e(g, "");
g.setVisibility(0);
g().setFullDivider(true);
g().setTargetName(c1114Vy.d.a);
g().setReferenceNumbers(c1114Vy.d.b);
g().setReferenceNo1(c1114Vy.d.e);
CustomTransferAndPayTarget g2 = g();
String str5 = c1114Vy.d.d;
if (str5 == null) {
str5 = "";
}
g2.setAvatar(str5, R.drawable.bankicon_remittance);
if (z) {
if (c1114Vy.g) {
String str6 = c1114Vy.j;
if (str6 != null && !TextUtils.isEmpty(str6)) {
g().setFavoriteName(str6);
}
} else {
g().setAddFavoriteButtonVisible(true);
}
} else {
g().setAddFavoriteButtonVisible(false);
CustomTransferAndPayTarget g3 = g();
g3.mFavouriteIcon.setVisibility(8);
g3.mFavouriteName.setVisibility(8);
}
fNS fns2 = this.d;
C14957gcv.e(fns2);
View view = fns2.g.g;
C14957gcv.c(view, "");
C14957gcv.e(view, "");
view.setVisibility(8);
i().setFullDivider(true);
h();
e(c1114Vy);
}
@Override // androidx.fragment.app.Fragment
public final View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
C14957gcv.e(layoutInflater, "");
View inflate = layoutInflater.inflate(R.layout.2131559873, viewGroup, false);
int i = R.id.bill_payment_layout;
RelativeLayout relativeLayout = (RelativeLayout) qeC.e(inflate, R.id.bill_payment_layout);
if (relativeLayout != null) {
i = R.id.bt_return;
TextView textView = (TextView) qeC.e(inflate, R.id.bt_return);
if (textView != null) {
i = R.id.bt_save_slip;
Button button = (Button) qeC.e(inflate, R.id.bt_save_slip);
if (button != null) {
i = R.id.bt_share_slip;
Button button2 = (Button) qeC.e(inflate, R.id.bt_share_slip);
if (button2 != null) {
i = R.id.buttons_container;
LinearLayout linearLayout = (LinearLayout) qeC.e(inflate, R.id.buttons_container);
if (linearLayout != null) {
i = R.id.divider_buttons;
View e = qeC.e(inflate, R.id.divider_buttons);
if (e != null) {
i = R.id.end_slip;
ImageView imageView = (ImageView) qeC.e(inflate, R.id.end_slip);
if (imageView != null) {
i = R.id.iv_pending_icon;
AppCompatImageView appCompatImageView = (AppCompatImageView) qeC.e(inflate, R.id.iv_pending_icon);
if (appCompatImageView != null) {
i = R.id.layout_common_remittance_review;
View e2 = qeC.e(inflate, R.id.layout_common_remittance_review);
if (e2 != null) {
YHT c2 = YHT.c(e2);
i = R.id.layout_slip;
RelativeLayout relativeLayout2 = (RelativeLayout) qeC.e(inflate, R.id.layout_slip);
if (relativeLayout2 != null) {
i = R.id.line_black;
View e3 = qeC.e(inflate, R.id.line_black);
if (e3 != null) {
i = R.id.remittance_logo;
ImageView imageView2 = (ImageView) qeC.e(inflate, R.id.remittance_logo);
if (imageView2 != null) {
NestedScrollView nestedScrollView = (NestedScrollView) inflate;
i = R.id.tv_disclaimer;
ThaiTextView thaiTextView = (ThaiTextView) qeC.e(inflate, R.id.tv_disclaimer);
if (thaiTextView != null) {
i = R.id.tv_ref_id;
TextView textView2 = (TextView) qeC.e(inflate, R.id.tv_ref_id);
if (textView2 != null) {
i = R.id.tv_successful_transfer;
TextView textView3 = (TextView) qeC.e(inflate, R.id.tv_successful_transfer);
if (textView3 != null) {
i = R.id.tv_transaction_date;
TextView textView4 = (TextView) qeC.e(inflate, R.id.tv_transaction_date);
if (textView4 != null) {
i = R.id.tv_transation_remark;
TextView textView5 = (TextView) qeC.e(inflate, R.id.tv_transation_remark);
if (textView5 != null) {
fNS fns = new fNS(nestedScrollView, relativeLayout, textView, button, button2, linearLayout, e, imageView, appCompatImageView, c2, relativeLayout2, e3, imageView2, nestedScrollView, thaiTextView, textView2, textView3, textView4, textView5);
this.d = fns;
C14957gcv.e(fns);
YHT yht = fns.g;
C14957gcv.c(yht, "");
fNS fns2 = this.d;
C14957gcv.e(fns2);
ImageView imageView3 = fns2.i;
C14957gcv.c(imageView3, "");
axj_(yht, imageView3);
fNS fns3 = this.d;
C14957gcv.e(fns3);
NestedScrollView nestedScrollView2 = fns3.j;
C14957gcv.c(nestedScrollView2, "");
return nestedScrollView2;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
throw new NullPointerException("Missing required view with ID: ".concat(inflate.getResources().getResourceName(i)));
}
public static /* synthetic */ void a(RemittanceSuccessFragment remittanceSuccessFragment) {
C14957gcv.e(remittanceSuccessFragment, "");
if (remittanceSuccessFragment.getActivity() != null) {
if (BaseActivity.P()) {
C14775fza.e(remittanceSuccessFragment);
return;
}
}
C14775fza.a(remittanceSuccessFragment);
}
@Override // o.InterfaceC9568dmG
public final void e(C1114Vy c1114Vy, boolean z) {
C14957gcv.e(c1114Vy, "");
if (getActivity() != null) {
if (BaseActivity.P()) {
C14775fza.c(this, c1114Vy, z);
return;
}
}
C14775fza.e(this, c1114Vy, z);
}
}