614 lines
19 KiB
Java
614 lines
19 KiB
Java
|
package com.scb.phone.view.fragment;
|
||
|
|
||
|
import android.content.ActivityNotFoundException;
|
||
|
import android.content.Context;
|
||
|
import android.content.Intent;
|
||
|
import android.content.res.Resources;
|
||
|
import android.net.Uri;
|
||
|
import android.os.Bundle;
|
||
|
import android.text.TextUtils;
|
||
|
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.TextView;
|
||
|
import androidx.fragment.app.FragmentActivity;
|
||
|
import butterknife.BindView;
|
||
|
import butterknife.ButterKnife;
|
||
|
import butterknife.OnClick;
|
||
|
import butterknife.Optional;
|
||
|
import butterknife.Unbinder;
|
||
|
import com.huawei.hms.support.api.entity.common.CommonConstant;
|
||
|
import com.scb.phone.R;
|
||
|
import com.scb.phone.components.ItemCustom;
|
||
|
import com.scb.phone.view.activity.BaseActivity;
|
||
|
import com.scb.phone.view.activity.HomeActivity;
|
||
|
import com.scb.phone.view.custom.item.ItemIconCustom;
|
||
|
import com.scb.phone.view.custom.item.ItemRevampSeparatorCustom;
|
||
|
import com.scb.phone.view.custom.item.ItemRevampSimpleCustom;
|
||
|
import com.scb.phone.view.custom.item.ItemRevampSuccessfulHeaderCustom;
|
||
|
import com.scb.phone.view.custom.item.ItemSimpleBottomCustom;
|
||
|
import com.scb.phone.view.fragment.PurchaseSuccessFragment;
|
||
|
import java.util.Calendar;
|
||
|
import java.util.List;
|
||
|
import o.AbstractC13163fSk;
|
||
|
import o.C10456eEq;
|
||
|
import o.C13417fZt;
|
||
|
import o.C14823gO;
|
||
|
import o.C14957gcv;
|
||
|
import o.C2252abB;
|
||
|
import o.C2253abC;
|
||
|
import o.C2254abD;
|
||
|
import o.C2258abH;
|
||
|
import o.C2301aby;
|
||
|
import o.C6204cLu;
|
||
|
import o.C6583cXR;
|
||
|
import o.EM;
|
||
|
import o.EW;
|
||
|
import o.EZ;
|
||
|
import o.EnumC8951daY;
|
||
|
import o.InterfaceC13391fZD;
|
||
|
import o.QI;
|
||
|
import o.QK;
|
||
|
import o.QL;
|
||
|
import o.QO;
|
||
|
import o.QQ;
|
||
|
import o.QR;
|
||
|
import o.ZI;
|
||
|
import o.cYH;
|
||
|
import o.eEX;
|
||
|
import o.fKR;
|
||
|
import o.fKY;
|
||
|
import o.fRR;
|
||
|
import o.fSJ;
|
||
|
import o.fSQ;
|
||
|
import o.guQ;
|
||
|
import o.kVs;
|
||
|
import o.nMh;
|
||
|
import o.pyT;
|
||
|
import org.jmrtd.lds.ImageInfo;
|
||
|
|
||
|
/* loaded from: classes5.dex */
|
||
|
public class PurchaseSuccessFragment extends Hilt_PurchaseSuccessFragment<EW> implements cYH {
|
||
|
|
||
|
@BindView
|
||
|
public TextView buttonReturn;
|
||
|
public fSJ c;
|
||
|
|
||
|
@InterfaceC13391fZD
|
||
|
public C14823gO componentFactory;
|
||
|
|
||
|
@BindView
|
||
|
protected LinearLayout container;
|
||
|
|
||
|
@BindView
|
||
|
ImageView curlImageView;
|
||
|
private boolean d = false;
|
||
|
|
||
|
@BindView
|
||
|
LinearLayout deepLinkButtonsContainer;
|
||
|
|
||
|
@BindView
|
||
|
public LinearLayout extraContainer;
|
||
|
|
||
|
@BindView
|
||
|
LinearLayout footerContainer;
|
||
|
|
||
|
@BindView
|
||
|
ImageView ivVoidRemark;
|
||
|
|
||
|
@InterfaceC13391fZD
|
||
|
public C2252abB<cYH> presenter;
|
||
|
|
||
|
@BindView
|
||
|
TextView purchaseNote;
|
||
|
|
||
|
@BindView
|
||
|
TextView remainingMsgTextView;
|
||
|
|
||
|
@BindView
|
||
|
Button saveSlip;
|
||
|
|
||
|
@BindView
|
||
|
Button shareSlip;
|
||
|
|
||
|
@InterfaceC13391fZD
|
||
|
public C6204cLu themesSlipPresenter;
|
||
|
|
||
|
@BindView
|
||
|
TextView tvVoidRemarkDescription;
|
||
|
|
||
|
@BindView
|
||
|
TextView tvVoidRemarkTitle;
|
||
|
|
||
|
@BindView
|
||
|
LinearLayout voidRemarkContainer;
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: protected */
|
||
|
public int m() {
|
||
|
return R.layout.2131559512;
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes5.dex */
|
||
|
public class PurchaseScreenshotDisplay_ViewBinding implements Unbinder {
|
||
|
private PurchaseScreenshotDisplay e;
|
||
|
|
||
|
public PurchaseScreenshotDisplay_ViewBinding(PurchaseScreenshotDisplay purchaseScreenshotDisplay, View view) {
|
||
|
this.e = purchaseScreenshotDisplay;
|
||
|
purchaseScreenshotDisplay.container = (LinearLayout) pyT.e(view, R.id.container, "field 'container'", LinearLayout.class);
|
||
|
purchaseScreenshotDisplay.purchaseNote = (TextView) pyT.a(view, R.id.purchase_note, "field 'purchaseNote'", TextView.class);
|
||
|
}
|
||
|
|
||
|
@Override // butterknife.Unbinder
|
||
|
public final void a() {
|
||
|
PurchaseScreenshotDisplay purchaseScreenshotDisplay = this.e;
|
||
|
if (purchaseScreenshotDisplay == null) {
|
||
|
throw new IllegalStateException("Bindings already cleared.");
|
||
|
}
|
||
|
this.e = null;
|
||
|
purchaseScreenshotDisplay.container = null;
|
||
|
purchaseScreenshotDisplay.purchaseNote = null;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static PurchaseSuccessFragment a(EW ew) {
|
||
|
PurchaseSuccessFragment purchaseSuccessFragment = new PurchaseSuccessFragment();
|
||
|
Bundle bundle = new Bundle();
|
||
|
bundle.putParcelable("com.scb.phone.PURCHASE_SUCCESS_DISPLAY", ew);
|
||
|
purchaseSuccessFragment.setArguments(bundle);
|
||
|
return purchaseSuccessFragment;
|
||
|
}
|
||
|
|
||
|
@Override // androidx.fragment.app.Fragment
|
||
|
public View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
|
||
|
View inflate = layoutInflater.inflate(m(), viewGroup, false);
|
||
|
ButterKnife.c(this, inflate);
|
||
|
this.presenter.e((C2252abB<cYH>) this);
|
||
|
return inflate;
|
||
|
}
|
||
|
|
||
|
@Override // com.scb.phone.view.fragment.BaseFragment, androidx.fragment.app.Fragment
|
||
|
public void onActivityCreated(Bundle bundle) {
|
||
|
super.onActivityCreated(bundle);
|
||
|
if (getArguments() == null || getArguments().getParcelable("com.scb.phone.PURCHASE_SUCCESS_DISPLAY") == null) {
|
||
|
return;
|
||
|
}
|
||
|
d((EW) getArguments().getParcelable("com.scb.phone.PURCHASE_SUCCESS_DISPLAY"));
|
||
|
}
|
||
|
|
||
|
@Override // o.cYH
|
||
|
public final void a(List<EM> list) {
|
||
|
for (EM em : list) {
|
||
|
ItemCustom e = this.componentFactory.e(getContext(), em);
|
||
|
e.setUpWithDisplay(em);
|
||
|
this.container.addView(e);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.cYH
|
||
|
public final void e(String str) {
|
||
|
TextView textView = this.remainingMsgTextView;
|
||
|
if (textView != null) {
|
||
|
textView.setVisibility(str != null ? 0 : 8);
|
||
|
this.remainingMsgTextView.setText(str);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // com.scb.phone.view.fragment.BaseFragment, androidx.fragment.app.Fragment
|
||
|
public void onDestroy() {
|
||
|
fSJ fsj = this.c;
|
||
|
if (fsj != null && !fsj.isDisposed()) {
|
||
|
this.c.dispose();
|
||
|
}
|
||
|
this.presenter.w_();
|
||
|
super.onDestroy();
|
||
|
}
|
||
|
|
||
|
@Override // o.cYH
|
||
|
public final void b(String str) {
|
||
|
TextView textView = this.purchaseNote;
|
||
|
if (textView != null) {
|
||
|
textView.setVisibility(str != null ? 0 : 8);
|
||
|
this.purchaseNote.setText(str);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.cYH
|
||
|
public void e() {
|
||
|
HomeActivity.c(getContext(), true);
|
||
|
}
|
||
|
|
||
|
@Override // o.cYH
|
||
|
public final void j() {
|
||
|
if (getActivity() != null) {
|
||
|
FragmentActivity activity = getActivity();
|
||
|
String string = getString(R.string.saved_slip);
|
||
|
EnumC8951daY enumC8951daY = EnumC8951daY.SUCCESS;
|
||
|
if (getActivity() != null) {
|
||
|
BaseActivity.a(new Object[]{(BaseActivity) getActivity(), activity, Integer.valueOf(R.id.root_view), string, enumC8951daY}, 855668825, -855668822, R.id.root_view);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.cYH
|
||
|
public final void c() {
|
||
|
if (getActivity() != null) {
|
||
|
FragmentActivity activity = getActivity();
|
||
|
String string = getString(R.string.saved_slip_error);
|
||
|
EnumC8951daY enumC8951daY = EnumC8951daY.ERROR;
|
||
|
if (getActivity() != null) {
|
||
|
BaseActivity.a(new Object[]{(BaseActivity) getActivity(), activity, Integer.valueOf(R.id.root_view), string, enumC8951daY}, 855668825, -855668822, R.id.root_view);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC8936daJ
|
||
|
public final void c(boolean z) {
|
||
|
this.saveSlip.setVisibility(z ? 0 : 8);
|
||
|
}
|
||
|
|
||
|
@Override // o.cYH
|
||
|
public final void e(boolean z) {
|
||
|
this.saveSlip.setBackgroundResource(z ? R.drawable.bg_button : R.drawable.bg_button_transparent);
|
||
|
this.saveSlip.setTextColor(kVs.nX_(getResources(), z ? R.color.f14042131100912 : R.color.f13682131100876, null));
|
||
|
}
|
||
|
|
||
|
@Override // o.cYH
|
||
|
public final void b(boolean z) {
|
||
|
this.shareSlip.setVisibility(z ? 0 : 8);
|
||
|
}
|
||
|
|
||
|
@Override // o.cYH
|
||
|
public final void a(String 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.cYH
|
||
|
public final void e(int i) {
|
||
|
Context context = getContext();
|
||
|
if (context == null || this.curlImageView == null) {
|
||
|
return;
|
||
|
}
|
||
|
this.curlImageView.setBackgroundColor(nMh.getColor(context, i));
|
||
|
}
|
||
|
|
||
|
@Override // o.cYH
|
||
|
public final void b(QL ql) {
|
||
|
ItemCustom e = this.componentFactory.e(getContext(), ql);
|
||
|
e.setUpWithDisplay(ql);
|
||
|
LinearLayout linearLayout = this.footerContainer;
|
||
|
if (linearLayout != null) {
|
||
|
linearLayout.addView(e);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.cYH
|
||
|
public final void d(boolean z) {
|
||
|
LinearLayout linearLayout = this.footerContainer;
|
||
|
if (linearLayout != null) {
|
||
|
linearLayout.setVisibility(z ? 0 : 8);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.cYH
|
||
|
public void c(List<QI> list) {
|
||
|
LinearLayout linearLayout = this.deepLinkButtonsContainer;
|
||
|
if (linearLayout == null) {
|
||
|
return;
|
||
|
}
|
||
|
linearLayout.removeAllViews();
|
||
|
if (list == null || list.isEmpty()) {
|
||
|
this.deepLinkButtonsContainer.setVisibility(8);
|
||
|
return;
|
||
|
}
|
||
|
this.deepLinkButtonsContainer.setVisibility(0);
|
||
|
LayoutInflater from = LayoutInflater.from(getActivity());
|
||
|
Resources resources = getActivity().getResources();
|
||
|
int VQ_ = C6583cXR.VQ_(0, resources);
|
||
|
int VQ_2 = C6583cXR.VQ_(16, resources);
|
||
|
LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams(-1, -2);
|
||
|
layoutParams.setMargins(VQ_, VQ_, VQ_, VQ_2);
|
||
|
for (int i = 0; i < list.size(); i++) {
|
||
|
final QI qi = list.get(i);
|
||
|
if (!TextUtils.isEmpty(qi.a)) {
|
||
|
Button button = (Button) awJ_(from, qi.c);
|
||
|
button.setText(qi.b);
|
||
|
button.setOnClickListener(new View.OnClickListener(this, qi) { // from class: o.eEH
|
||
|
private PurchaseSuccessFragment a;
|
||
|
private QI c;
|
||
|
|
||
|
@Override // android.view.View.OnClickListener
|
||
|
public final void onClick(View view) {
|
||
|
this.a.c(this.c);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.a = this;
|
||
|
this.c = qi;
|
||
|
}
|
||
|
});
|
||
|
if (list.size() != 1 && i != list.size() - 1) {
|
||
|
button.setLayoutParams(layoutParams);
|
||
|
}
|
||
|
this.deepLinkButtonsContainer.addView(button);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.cYH
|
||
|
public final void h() {
|
||
|
LinearLayout linearLayout = this.voidRemarkContainer;
|
||
|
C14957gcv.e(linearLayout, "");
|
||
|
linearLayout.setVisibility(0);
|
||
|
}
|
||
|
|
||
|
@Override // o.cYH
|
||
|
public final void d() {
|
||
|
LinearLayout linearLayout = this.voidRemarkContainer;
|
||
|
C14957gcv.e(linearLayout, "");
|
||
|
linearLayout.setVisibility(8);
|
||
|
}
|
||
|
|
||
|
@Override // o.cYH
|
||
|
public final void d(String str, String str2, String str3) {
|
||
|
if (str != null) {
|
||
|
C10456eEq.aqe_(this.ivVoidRemark, str, null);
|
||
|
}
|
||
|
this.tvVoidRemarkTitle.setText(str2);
|
||
|
this.tvVoidRemarkDescription.setText(str3);
|
||
|
}
|
||
|
|
||
|
protected View awJ_(LayoutInflater layoutInflater, boolean z) {
|
||
|
return layoutInflater.inflate(R.layout.2131558928, (ViewGroup) null);
|
||
|
}
|
||
|
|
||
|
public void c(QI qi) {
|
||
|
try {
|
||
|
startActivity(new Intent(CommonConstant.ACTION.HWID_SCHEME_URL, Uri.parse(qi.a)));
|
||
|
} catch (ActivityNotFoundException e) {
|
||
|
guQ.e(e);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes5.dex */
|
||
|
public static class PurchaseScreenshotDisplay extends EZ {
|
||
|
public boolean c;
|
||
|
|
||
|
@BindView
|
||
|
public LinearLayout container;
|
||
|
private EW d;
|
||
|
private C14823gO f;
|
||
|
|
||
|
@BindView
|
||
|
protected TextView purchaseNote;
|
||
|
|
||
|
public PurchaseScreenshotDisplay(int i, String str, EW ew, boolean z, C14823gO c14823gO, boolean z2) {
|
||
|
super(i, str, z, z2);
|
||
|
this.c = false;
|
||
|
this.d = ew;
|
||
|
this.f = c14823gO;
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: protected */
|
||
|
public final void b(List<EM> list, Context context) {
|
||
|
for (EM em : list) {
|
||
|
ItemCustom e = this.f.e(context, em);
|
||
|
if (this.c) {
|
||
|
if (e instanceof ItemRevampSuccessfulHeaderCustom) {
|
||
|
((ItemRevampSuccessfulHeaderCustom) e).e();
|
||
|
} else if (e instanceof ItemRevampSimpleCustom) {
|
||
|
((ItemRevampSimpleCustom) e).e(((QO) em).l);
|
||
|
} else if (e instanceof ItemRevampSeparatorCustom) {
|
||
|
((ItemRevampSeparatorCustom) e).e(((QQ) em).e);
|
||
|
}
|
||
|
}
|
||
|
if (!(e instanceof ItemIconCustom)) {
|
||
|
if ((e instanceof ItemSimpleBottomCustom) && ((QR) em).l) {
|
||
|
((ItemSimpleBottomCustom) e).setVisibility(8);
|
||
|
}
|
||
|
} else if (((QK) em).l) {
|
||
|
((ItemIconCustom) e).layoutCustomItemIcon.setVisibility(8);
|
||
|
}
|
||
|
e.setUpWithDisplay(em);
|
||
|
this.container.addView(e);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: protected */
|
||
|
public final void b(String str) {
|
||
|
TextView textView;
|
||
|
if (str == null || (textView = this.purchaseNote) == null) {
|
||
|
return;
|
||
|
}
|
||
|
textView.setVisibility(0);
|
||
|
this.purchaseNote.setText(str);
|
||
|
}
|
||
|
|
||
|
public void a(View view) {
|
||
|
TextView textView;
|
||
|
b(this.d.i, view.getContext());
|
||
|
String str = this.d.a;
|
||
|
if (str == null || (textView = this.purchaseNote) == null) {
|
||
|
return;
|
||
|
}
|
||
|
textView.setVisibility(0);
|
||
|
this.purchaseNote.setText(str);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes5.dex */
|
||
|
public static class HBt extends fKR<PurchaseScreenshotDisplay> {
|
||
|
@Override // o.fKR
|
||
|
public final /* synthetic */ void b(PurchaseScreenshotDisplay purchaseScreenshotDisplay, View view) {
|
||
|
PurchaseScreenshotDisplay purchaseScreenshotDisplay2 = purchaseScreenshotDisplay;
|
||
|
ButterKnife.c(purchaseScreenshotDisplay2, view);
|
||
|
purchaseScreenshotDisplay2.a(view);
|
||
|
}
|
||
|
|
||
|
public HBt() {
|
||
|
}
|
||
|
|
||
|
public HBt(C6204cLu c6204cLu) {
|
||
|
super(c6204cLu);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void d(PurchaseSuccessFragment purchaseSuccessFragment) {
|
||
|
C2252abB<cYH> c2252abB = purchaseSuccessFragment.presenter;
|
||
|
C2258abH c2258abH = new C2258abH();
|
||
|
if (c2252abB.f != 0) {
|
||
|
c2258abH.e(c2252abB.f);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void aqo_(PurchaseSuccessFragment purchaseSuccessFragment, boolean z, Uri uri) {
|
||
|
C2252abB<cYH> c2252abB = purchaseSuccessFragment.presenter;
|
||
|
String obj = uri.toString();
|
||
|
if (z) {
|
||
|
C2253abC c2253abC = new C2253abC(obj);
|
||
|
if (c2252abB.f != 0) {
|
||
|
c2253abC.e(c2252abB.f);
|
||
|
return;
|
||
|
}
|
||
|
return;
|
||
|
}
|
||
|
C2301aby c2301aby = new C2301aby();
|
||
|
if (c2252abB.f != 0) {
|
||
|
c2301aby.e(c2252abB.f);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@OnClick
|
||
|
public void onReturnButton() {
|
||
|
C2252abB<cYH> c2252abB = this.presenter;
|
||
|
ZI.IeS ieS = new ZI.IeS() { // from class: o.abE
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj) {
|
||
|
((cYH) obj).e();
|
||
|
}
|
||
|
};
|
||
|
if (c2252abB.f != 0) {
|
||
|
ieS.e(c2252abB.f);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public final void o() {
|
||
|
C2252abB<cYH> c2252abB = this.presenter;
|
||
|
C2258abH c2258abH = new C2258abH();
|
||
|
if (c2252abB.f != 0) {
|
||
|
c2258abH.e(c2252abB.f);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public final void b(String str, boolean z) {
|
||
|
C2252abB<cYH> c2252abB = this.presenter;
|
||
|
if (z) {
|
||
|
C2253abC c2253abC = new C2253abC(str);
|
||
|
if (c2252abB.f != 0) {
|
||
|
c2253abC.e(c2252abB.f);
|
||
|
return;
|
||
|
}
|
||
|
return;
|
||
|
}
|
||
|
C2301aby c2301aby = new C2301aby();
|
||
|
if (c2252abB.f != 0) {
|
||
|
c2301aby.e(c2252abB.f);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@OnClick
|
||
|
@Optional
|
||
|
public void onSaveSlipButtonClick() {
|
||
|
C2252abB<cYH> c2252abB = this.presenter;
|
||
|
C2254abD c2254abD = new C2254abD(c2252abB);
|
||
|
if (c2252abB.f != 0) {
|
||
|
c2254abD.e(c2252abB.f);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@OnClick
|
||
|
@Optional
|
||
|
public void onShareSlipButtonClick() {
|
||
|
final C2252abB<cYH> c2252abB = this.presenter;
|
||
|
ZI.IeS ieS = new ZI.IeS(c2252abB) { // from class: o.abM
|
||
|
private C2252abB b;
|
||
|
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj) {
|
||
|
((cYH) obj).d(this.b.a, true, false);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.b = c2252abB;
|
||
|
}
|
||
|
};
|
||
|
if (c2252abB.f != 0) {
|
||
|
ieS.e(c2252abB.f);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.cYH
|
||
|
public final void a() {
|
||
|
this.d = true;
|
||
|
}
|
||
|
|
||
|
@Override // o.cYH
|
||
|
public void d(EW ew) {
|
||
|
this.presenter.e(ew, (List<QI>) null);
|
||
|
}
|
||
|
|
||
|
@Override // com.scb.phone.view.fragment.ScreenShotFragment
|
||
|
public void d(EW ew, final boolean z, boolean z2) {
|
||
|
PurchaseScreenshotDisplay purchaseScreenshotDisplay = new PurchaseScreenshotDisplay(R.layout.2131560122, ew.d(String.valueOf(Calendar.getInstance().getTimeInMillis())), C2252abB.d(ew), z, this.componentFactory, z2);
|
||
|
this.c = AbstractC13163fSk.fromCallable(new fKY(new HBt(this.themesSlipPresenter), purchaseScreenshotDisplay, requireContext())).observeOn(fRR.e()).subscribeOn(C13417fZt.b()).subscribe(new fSQ(this, z) { // from class: o.eEK
|
||
|
private PurchaseSuccessFragment a;
|
||
|
private boolean c;
|
||
|
|
||
|
@Override // o.fSQ
|
||
|
public final void c(Object obj) {
|
||
|
PurchaseSuccessFragment.aqo_(this.a, this.c, (Uri) obj);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.a = this;
|
||
|
this.c = z;
|
||
|
}
|
||
|
}, new fSQ(this) { // from class: o.eEN
|
||
|
private PurchaseSuccessFragment e;
|
||
|
|
||
|
@Override // o.fSQ
|
||
|
public final void c(Object obj) {
|
||
|
PurchaseSuccessFragment.d(this.e);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.e = this;
|
||
|
}
|
||
|
});
|
||
|
purchaseScreenshotDisplay.c = this.d;
|
||
|
}
|
||
|
|
||
|
@Override // o.cYH
|
||
|
public final /* synthetic */ void c(EW ew, boolean z) {
|
||
|
if (getActivity() != null) {
|
||
|
if (BaseActivity.P()) {
|
||
|
eEX.e(this, ew, false, z);
|
||
|
return;
|
||
|
}
|
||
|
}
|
||
|
eEX.d(this, ew, false, z);
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: protected */
|
||
|
public final void l() {
|
||
|
this.d = true;
|
||
|
}
|
||
|
}
|