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

108 lines
4.2 KiB
Java

package o;
import android.content.Context;
import android.view.ViewGroup;
import androidx.recyclerview.widget.RecyclerView;
import com.scb.phone.view.custom.profilemanagement.AddAccountCustomView;
import com.scb.phone.view.custom.profilemanagement.AddAccountErrorCustomView;
import com.scb.phone.view.custom.profilemanagement.AddAccountHeaderCustomView;
import com.scb.phone.view.custom.profilemanagement.AddAccountItemCustomView;
import com.scb.phone.view.custom.profilemanagement.AddAccountPendingCardCustomView;
import com.scb.phone.view.custom.profilemanagement.AddAccountSelectorCustomView;
import com.scb.phone.view.custom.profilemanagement.AddAccountSubHeaderCustomView;
/* renamed from: o.exW, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public final class C12400exW extends AbstractC12398exU<Sts> {
private final HBt a;
private final RVV e;
/* renamed from: o.exW$HBt */
/* loaded from: classes5.dex */
public interface HBt {
void a(UU uu);
}
/* renamed from: o.exW$LWm */
/* loaded from: classes5.dex */
public interface LWm {
}
/* renamed from: o.exW$RVV */
/* loaded from: classes5.dex */
public interface RVV {
void c(UY uy);
}
@Override // androidx.recyclerview.widget.RecyclerView.Sts
public final /* synthetic */ void onBindViewHolder(RecyclerView.zJl zjl, int i) {
Sts sts = (Sts) zjl;
C14957gcv.e(sts, "");
UV uv = this.d.get(i);
C14957gcv.c(uv, "");
UV uv2 = uv;
C14957gcv.e(uv2, "");
sts.a.setDisplay(uv2);
}
@Override // androidx.recyclerview.widget.RecyclerView.Sts
public final /* synthetic */ RecyclerView.zJl onCreateViewHolder(ViewGroup viewGroup, int i) {
AddAccountHeaderCustomView addAccountHeaderCustomView;
C14957gcv.e(viewGroup, "");
if (i == 1) {
Context context = viewGroup.getContext();
C14957gcv.c(context, "");
addAccountHeaderCustomView = new AddAccountHeaderCustomView(context);
} else if (i == 2) {
Context context2 = viewGroup.getContext();
C14957gcv.c(context2, "");
AddAccountPendingCardCustomView addAccountPendingCardCustomView = new AddAccountPendingCardCustomView(context2);
addAccountPendingCardCustomView.setListener(this.e);
addAccountHeaderCustomView = addAccountPendingCardCustomView;
} else if (i == 3) {
Context context3 = viewGroup.getContext();
C14957gcv.c(context3, "");
addAccountHeaderCustomView = new AddAccountSelectorCustomView(context3);
} else if (i == 6) {
Context context4 = viewGroup.getContext();
C14957gcv.c(context4, "");
addAccountHeaderCustomView = new AddAccountSubHeaderCustomView(context4);
} else if (i == 7) {
Context context5 = viewGroup.getContext();
C14957gcv.c(context5, "");
addAccountHeaderCustomView = new AddAccountErrorCustomView(context5);
} else {
Context context6 = viewGroup.getContext();
C14957gcv.c(context6, "");
AddAccountItemCustomView addAccountItemCustomView = new AddAccountItemCustomView(context6);
addAccountItemCustomView.setListener(this.a);
addAccountHeaderCustomView = addAccountItemCustomView;
}
return new Sts(this, addAccountHeaderCustomView);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public C12400exW(HBt hBt, RVV rvv) {
super(null);
C14957gcv.e(hBt, "");
C14957gcv.e(rvv, "");
this.a = hBt;
this.e = rvv;
}
/* renamed from: o.exW$Sts */
/* loaded from: classes5.dex */
public final class Sts extends RecyclerView.zJl {
AddAccountCustomView a;
private C12400exW b;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public Sts(C12400exW c12400exW, AddAccountCustomView addAccountCustomView) {
super(addAccountCustomView);
C14957gcv.e(addAccountCustomView, "");
this.b = c12400exW;
this.a = addAccountCustomView;
}
}
}