package com.scb.phone.view.fragment.transferandpay; import android.content.DialogInterface; import android.text.TextUtils; import com.scb.phone.R; import com.scb.phone.view.custom.common.CustomDialog; import o.InterfaceC9010dbe; import o.gjJ; /* loaded from: classes5.dex */ public abstract class BaseDuplicatedTransferFragment extends Hilt_BaseDuplicatedTransferFragment implements InterfaceC9010dbe.jbe { @Override // o.InterfaceC9010dbe.jbe public final void d(String str, String str2, final InterfaceC9010dbe.jbe.Sts sts) { CustomDialog b = CustomDialog.b(getContext()); if (TextUtils.isEmpty(str)) { str = getString(R.string.common_error); } if (gjJ.a(str)) { b.mTitleTextView.setVisibility(0); b.mTitleTextView.setText(str); } if (gjJ.a(str2)) { b.mTextTextView.setVisibility(0); b.mTextTextView.setText(str2); } ((CustomDialog) CustomDialog.e(new Object[]{b.aoT_(R.string.proceed, new DialogInterface.OnClickListener(sts) { // from class: o.fCE private InterfaceC9010dbe.jbe.Sts b; @Override // android.content.DialogInterface.OnClickListener public final void onClick(DialogInterface dialogInterface, int i) { this.b.c(); } { this.b = sts; } }), Integer.valueOf(R.string.cancel), new DialogInterface.OnClickListener() { // from class: o.fCI @Override // android.content.DialogInterface.OnClickListener public final void onClick(DialogInterface dialogInterface, int i) { dialogInterface.dismiss(); } }})).show(); } }