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

101 lines
4.1 KiB
Java

package o;
import android.content.Context;
import android.view.ViewGroup;
import androidx.recyclerview.widget.RecyclerView;
import com.scb.phone.view.custom.mailingaddress.MailingAddressAccountDetailsCustomItem;
import com.scb.phone.view.custom.mailingaddress.MailingAddressAccountHeaderCustomItem;
import com.scb.phone.view.custom.mailingaddress.MailingAddressAccountSelectorCustomItem;
import com.scb.phone.view.custom.mailingaddress.MailingAddressErrorCustomItem;
import com.scb.phone.view.custom.mailingaddress.MailingAddressSelectAccountItem;
import java.util.ArrayList;
import java.util.List;
/* renamed from: o.ewT, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public final class C12344ewT extends AbstractC12398exU<RVV> {
public LWm a;
/* renamed from: o.ewT$LWm */
/* loaded from: classes5.dex */
public interface LWm {
void b(C0927Rs c0927Rs, boolean z);
void c(RF rf, boolean z);
void d();
void e(C0927Rs c0927Rs);
}
public /* synthetic */ C12344ewT(byte b) {
this(new ArrayList());
}
@Override // androidx.recyclerview.widget.RecyclerView.Sts
public final /* synthetic */ void onBindViewHolder(RecyclerView.zJl zjl, int i) {
RVV rvv = (RVV) zjl;
C14957gcv.e(rvv, "");
UV uv = this.d.get(i);
C14957gcv.c(uv, "");
UV uv2 = uv;
C14957gcv.e(uv2, "");
rvv.e.setDisplay(uv2);
}
@Override // androidx.recyclerview.widget.RecyclerView.Sts
public final /* synthetic */ RecyclerView.zJl onCreateViewHolder(ViewGroup viewGroup, int i) {
MailingAddressAccountHeaderCustomItem mailingAddressAccountHeaderCustomItem;
C14957gcv.e(viewGroup, "");
if (i == 1) {
Context context = viewGroup.getContext();
C14957gcv.c(context, "");
mailingAddressAccountHeaderCustomItem = new MailingAddressAccountHeaderCustomItem(context);
} else if (i == 3) {
Context context2 = viewGroup.getContext();
C14957gcv.c(context2, "");
MailingAddressAccountSelectorCustomItem mailingAddressAccountSelectorCustomItem = new MailingAddressAccountSelectorCustomItem(context2);
mailingAddressAccountSelectorCustomItem.setListener(this.a);
mailingAddressAccountHeaderCustomItem = mailingAddressAccountSelectorCustomItem;
} else if (i == 7) {
Context context3 = viewGroup.getContext();
C14957gcv.c(context3, "");
MailingAddressErrorCustomItem mailingAddressErrorCustomItem = new MailingAddressErrorCustomItem(context3);
mailingAddressErrorCustomItem.setListener(this.a);
mailingAddressAccountHeaderCustomItem = mailingAddressErrorCustomItem;
} else {
Context context4 = viewGroup.getContext();
C14957gcv.c(context4, "");
MailingAddressAccountDetailsCustomItem mailingAddressAccountDetailsCustomItem = new MailingAddressAccountDetailsCustomItem(context4);
mailingAddressAccountDetailsCustomItem.setListener(this.a);
mailingAddressAccountHeaderCustomItem = mailingAddressAccountDetailsCustomItem;
}
return new RVV(this, mailingAddressAccountHeaderCustomItem);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
private C12344ewT(List<? extends UV> list) {
super(list);
C14957gcv.e(list, "");
}
/* renamed from: o.ewT$RVV */
/* loaded from: classes5.dex */
public final class RVV extends RecyclerView.zJl {
private C12344ewT b;
MailingAddressSelectAccountItem e;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public RVV(C12344ewT c12344ewT, MailingAddressSelectAccountItem mailingAddressSelectAccountItem) {
super(mailingAddressSelectAccountItem);
C14957gcv.e(mailingAddressSelectAccountItem, "");
this.b = c12344ewT;
this.e = mailingAddressSelectAccountItem;
}
}
public C12344ewT() {
this((byte) 0);
}
}