what-the-bank/sources/o/C12061erB.java

63 lines
2.6 KiB
Java

package o;
import android.os.Bundle;
import androidx.fragment.app.Fragment;
import com.scb.phone.view.fragment.cardmanagement.DeejungPlanDetailFragment;
import com.scb.phone.view.fragment.cardmanagement.DeejungPlanErrorFragment;
import java.util.List;
/* renamed from: o.erB, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public final class C12061erB extends MoT {
private final InterfaceC9073dco a;
private final C0367Fb b;
private final boolean c;
private final yRS d;
private final List<C0433Gl> e;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public C12061erB(yRS yrs, List<C0433Gl> list, InterfaceC9073dco interfaceC9073dco, C0367Fb c0367Fb, boolean z) {
super(yrs);
C14957gcv.e(yrs, "");
C14957gcv.e(list, "");
C14957gcv.e(interfaceC9073dco, "");
C14957gcv.e(c0367Fb, "");
this.d = yrs;
this.e = list;
this.a = interfaceC9073dco;
this.b = c0367Fb;
this.c = z;
}
@Override // o.WYJ
public final int getCount() {
return this.e.size();
}
@Override // o.MoT
public final Fragment b(int i) {
C0433Gl c0433Gl = this.e.get(i);
C0456Gz c0456Gz = c0433Gl.f;
if (c0456Gz != null && !C14957gcv.b((Object) "1000", (Object) c0456Gz.c)) {
DeejungPlanErrorFragment.Sts sts = DeejungPlanErrorFragment.c;
return DeejungPlanErrorFragment.Sts.b(c0456Gz.a, c0456Gz.b, c0433Gl.a, c0433Gl.e, this.b.T, this.c);
}
DeejungPlanDetailFragment.HBt hBt = DeejungPlanDetailFragment.c;
C0367Fb c0367Fb = this.b;
boolean z = this.c;
C14957gcv.e(c0433Gl, "");
C14957gcv.e(c0367Fb, "");
Bundle bundle = new Bundle();
DeejungPlanDetailFragment deejungPlanDetailFragment = new DeejungPlanDetailFragment();
bundle.putParcelable("com.scb.phone.view.fragment.card_management.DeejungPlanDetailFragment.KEY_DEEJUNG_INSTALLMENT_PLAN", c0433Gl);
bundle.putParcelable("com.scb.phone.view.activity.card_management.DeejungPlansActivity.KEY_CREDIT_CARD_DISPLAY", c0367Fb);
bundle.putBoolean("com.scb.phone.view.fragment.card_management.KEY_IS_FROM_DEEJUNG_INSTALLMENT", z);
deejungPlanDetailFragment.setArguments(bundle);
DeejungPlanDetailFragment deejungPlanDetailFragment2 = deejungPlanDetailFragment;
InterfaceC9073dco interfaceC9073dco = this.a;
C14957gcv.e(interfaceC9073dco, "");
deejungPlanDetailFragment2.d = interfaceC9073dco;
return deejungPlanDetailFragment2;
}
}