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

106 lines
3.2 KiB
Java

package o;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout;
import androidx.recyclerview.widget.RecyclerView;
import java.util.List;
import o.C12208etq;
/* renamed from: o.etq, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public final class C12208etq extends RecyclerView.Sts<HBt> {
public final List<JQ> b;
private final fIU d;
@Override // androidx.recyclerview.widget.RecyclerView.Sts
public final /* synthetic */ void onBindViewHolder(HBt hBt, int i) {
HBt hBt2 = hBt;
C14957gcv.e(hBt2, "");
String str = this.b.get(i).a;
final IeS ieS = new IeS(this, i);
C14957gcv.e(str, "");
C14957gcv.e(ieS, "");
hBt2.b.d.setText(str);
hBt2.b.QR_().setOnClickListener(new View.OnClickListener(ieS) { // from class: o.etn
private InterfaceC14890gbN a;
@Override // android.view.View.OnClickListener
public final void onClick(View view) {
C12208etq.HBt.d(this.a);
}
{
this.a = ieS;
}
});
}
@Override // androidx.recyclerview.widget.RecyclerView.Sts
public final /* synthetic */ HBt onCreateViewHolder(ViewGroup viewGroup, int i) {
C14957gcv.e(viewGroup, "");
kmd QQ_ = kmd.QQ_(LayoutInflater.from(viewGroup.getContext()), viewGroup);
C14957gcv.c(QQ_, "");
return new HBt(this, QQ_);
}
public C12208etq(List<JQ> list, fIU fiu) {
C14957gcv.e(list, "");
this.b = list;
this.d = fiu;
}
/* renamed from: o.etq$IeS */
/* loaded from: classes5.dex */
static final class IeS extends AbstractC14961gcz implements InterfaceC14890gbN<C14866gag> {
private C12208etq a;
private int b;
@Override // o.InterfaceC14890gbN
public final /* synthetic */ C14866gag invoke() {
fIU fiu = this.a.d;
if (fiu != null) {
fiu.b(this.b);
}
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
IeS(C12208etq c12208etq, int i) {
super(0);
this.a = c12208etq;
this.b = i;
}
}
@Override // androidx.recyclerview.widget.RecyclerView.Sts
public final int getItemCount() {
return this.b.size();
}
/* renamed from: o.etq$HBt */
/* loaded from: classes5.dex */
public final class HBt extends RecyclerView.zJl {
final kmd b;
private C12208etq c;
private final LinearLayout e;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public HBt(C12208etq c12208etq, kmd kmdVar) {
super(kmdVar.QR_());
C14957gcv.e(kmdVar, "");
this.c = c12208etq;
this.b = kmdVar;
LinearLayout QR_ = kmdVar.QR_();
C14957gcv.c(QR_, "");
this.e = QR_;
}
public static /* synthetic */ void d(InterfaceC14890gbN interfaceC14890gbN) {
C14957gcv.e(interfaceC14890gbN, "");
interfaceC14890gbN.invoke();
}
}
}