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

92 lines
3.1 KiB
Java

package o;
import android.view.ViewGroup;
import androidx.recyclerview.widget.RecyclerView;
import com.scb.phone.view.custom.profilemanagement.AccountManagementFooterCustomView;
import com.scb.phone.view.custom.profilemanagement.AccountManagementHeaderCustomView;
import com.scb.phone.view.custom.profilemanagement.AccountManagementItem;
import com.scb.phone.view.custom.profilemanagement.AccountManagementItemCustomView;
import o.UR;
/* renamed from: o.exY, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public final class C12402exY extends AbstractC12398exU<HBt> {
private boolean a;
private IeS b;
private RVV c;
private UR e;
/* renamed from: o.exY$IeS */
/* loaded from: classes5.dex */
public interface IeS {
void d();
}
/* renamed from: o.exY$RVV */
/* loaded from: classes5.dex */
public interface RVV {
void a(UU uu);
void d(UU uu);
void e(UU uu, String str);
}
@Override // androidx.recyclerview.widget.RecyclerView.Sts
public final /* synthetic */ void onBindViewHolder(RecyclerView.zJl zjl, int i) {
((HBt) zjl).b.setDisplay(this.d.get(i), this.a);
}
public C12402exY(boolean z, RVV rvv, IeS ieS) {
super(null);
UR.RVV b = UR.b();
b.b = true;
b.c = 8;
this.e = new UR(b, (byte) 0);
this.c = rvv;
this.b = ieS;
this.a = z;
}
/* renamed from: o.exY$HBt */
/* loaded from: classes5.dex */
class HBt extends RecyclerView.zJl {
private C12402exY a;
AccountManagementItem b;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public HBt(C12402exY c12402exY, AccountManagementItem accountManagementItem) {
super(accountManagementItem);
this.a = c12402exY;
this.b = accountManagementItem;
}
}
@Override // androidx.recyclerview.widget.RecyclerView.Sts
public final /* synthetic */ RecyclerView.zJl onCreateViewHolder(ViewGroup viewGroup, int i) {
AccountManagementItem accountManagementItem;
if (i == 1) {
accountManagementItem = new AccountManagementHeaderCustomView(viewGroup.getContext());
} else if (i == 4 || i == 8) {
AccountManagementItemCustomView accountManagementItemCustomView = new AccountManagementItemCustomView(viewGroup.getContext());
accountManagementItemCustomView.setListener(this.c);
accountManagementItem = accountManagementItemCustomView;
} else if (i == 9) {
AccountManagementFooterCustomView accountManagementFooterCustomView = new AccountManagementFooterCustomView(viewGroup.getContext());
accountManagementFooterCustomView.setListener(this.b);
accountManagementItem = accountManagementFooterCustomView;
} else {
accountManagementItem = null;
}
return new HBt(this, accountManagementItem);
}
@Override // o.AbstractC12398exU
protected final UR d() {
if (this.a) {
return null;
}
return this.e;
}
}