103 lines
3.2 KiB
Java
103 lines
3.2 KiB
Java
|
package o;
|
||
|
|
||
|
import android.os.Bundle;
|
||
|
import androidx.fragment.app.Fragment;
|
||
|
import com.scb.phone.view.fragment.investment.purchase.SearchFundTabFragment;
|
||
|
import java.util.HashMap;
|
||
|
import java.util.List;
|
||
|
|
||
|
/* renamed from: o.evK, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes5.dex */
|
||
|
public final class C12282evK extends Oym {
|
||
|
public final HashMap<String, SearchFundTabFragment> c;
|
||
|
private final boolean g;
|
||
|
private final List<EnumC0861Qd> j;
|
||
|
|
||
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||
|
/* JADX WARN: Multi-variable type inference failed */
|
||
|
public C12282evK(Fragment fragment, boolean z, List<? extends EnumC0861Qd> list) {
|
||
|
super(fragment);
|
||
|
C14957gcv.e(fragment, "");
|
||
|
C14957gcv.e(list, "");
|
||
|
this.g = z;
|
||
|
this.j = list;
|
||
|
this.c = new HashMap<>();
|
||
|
}
|
||
|
|
||
|
@Override // androidx.recyclerview.widget.RecyclerView.Sts
|
||
|
public final int getItemCount() {
|
||
|
return this.j.size();
|
||
|
}
|
||
|
|
||
|
@Override // o.Oym
|
||
|
public final Fragment a(int i) {
|
||
|
String str;
|
||
|
switch (HBt.a[this.j.get(i).ordinal()]) {
|
||
|
case 1:
|
||
|
str = "FRAGMENT_ALL";
|
||
|
break;
|
||
|
case 2:
|
||
|
str = "FRAGMENT_PURCHASED";
|
||
|
break;
|
||
|
case 3:
|
||
|
str = "FRAGMENT_OTHERS";
|
||
|
break;
|
||
|
case 4:
|
||
|
case 5:
|
||
|
str = "FRAGMENT_SSF";
|
||
|
break;
|
||
|
case 6:
|
||
|
str = "FRAGMENT_TESG";
|
||
|
break;
|
||
|
default:
|
||
|
str = "FRAGMENT_IPO";
|
||
|
break;
|
||
|
}
|
||
|
SearchFundTabFragment.LWm lWm = SearchFundTabFragment.c;
|
||
|
boolean z = this.g;
|
||
|
C14957gcv.e(str, "");
|
||
|
SearchFundTabFragment searchFundTabFragment = new SearchFundTabFragment();
|
||
|
Bundle bundle = new Bundle();
|
||
|
bundle.putString("extra_tab_type", str);
|
||
|
bundle.putBoolean("extra_omnibus_transaction_flag", z);
|
||
|
searchFundTabFragment.setArguments(bundle);
|
||
|
this.c.put(str, searchFundTabFragment);
|
||
|
return searchFundTabFragment;
|
||
|
}
|
||
|
|
||
|
/* renamed from: o.evK$HBt */
|
||
|
/* loaded from: classes5.dex */
|
||
|
public final /* synthetic */ class HBt {
|
||
|
public static final int[] a;
|
||
|
|
||
|
static {
|
||
|
int[] iArr = new int[EnumC0861Qd.values().length];
|
||
|
try {
|
||
|
iArr[EnumC0861Qd.ALL_TAB.ordinal()] = 1;
|
||
|
} catch (NoSuchFieldError unused) {
|
||
|
}
|
||
|
try {
|
||
|
iArr[EnumC0861Qd.PURCHASED_TAB.ordinal()] = 2;
|
||
|
} catch (NoSuchFieldError unused2) {
|
||
|
}
|
||
|
try {
|
||
|
iArr[EnumC0861Qd.OTHERS_TAB.ordinal()] = 3;
|
||
|
} catch (NoSuchFieldError unused3) {
|
||
|
}
|
||
|
try {
|
||
|
iArr[EnumC0861Qd.SSF_TAB.ordinal()] = 4;
|
||
|
} catch (NoSuchFieldError unused4) {
|
||
|
}
|
||
|
try {
|
||
|
iArr[EnumC0861Qd.SSF_TESG_TAB.ordinal()] = 5;
|
||
|
} catch (NoSuchFieldError unused5) {
|
||
|
}
|
||
|
try {
|
||
|
iArr[EnumC0861Qd.TESG_TAB.ordinal()] = 6;
|
||
|
} catch (NoSuchFieldError unused6) {
|
||
|
}
|
||
|
a = iArr;
|
||
|
}
|
||
|
}
|
||
|
}
|