package o; import androidx.fragment.app.Fragment; import com.scb.phone.view.fragment.investment.schedule.SetupScheduleMonthlyFragment; import com.scb.phone.view.fragment.investment.schedule.SetupScheduleOnceFragment; import com.scb.phone.view.fragment.investment.schedule.SetupScheduleWeeklyFragment; import java.util.List; /* renamed from: o.evY, reason: case insensitive filesystem */ /* loaded from: classes5.dex */ public final class C12296evY extends MoT { private boolean a; private List e; public C12296evY(yRS yrs, List list, boolean z) { super(yrs); this.e = list; this.a = z; } @Override // o.MoT public final Fragment b(int i) { if (i == 1) { return new SetupScheduleWeeklyFragment(); } if (i == 2) { return new SetupScheduleMonthlyFragment(); } return new SetupScheduleOnceFragment(); } @Override // o.WYJ public final int getCount() { if (this.a) { return 1; } return this.e.size(); } @Override // o.WYJ public final CharSequence getPageTitle(int i) { return this.e.get(i); } }