package o; import android.view.View; import androidx.recyclerview.widget.RecyclerView; import java.util.List; import o.AbstractC10155dxT; /* renamed from: o.dxI, reason: case insensitive filesystem */ /* loaded from: classes4.dex */ public abstract class AbstractC10145dxI> extends RecyclerView.Sts { public static final InterfaceC14984gdp[] d = {C14929gcJ.c(new gcB(AbstractC10145dxI.class, "list", "getList()Ljava/util/List;"))}; private final InterfaceC14894gbR a; public final InterfaceC14933gcS e; public abstract void d(VH vh, T t); /* renamed from: o.dxI$Sts */ /* loaded from: classes4.dex */ public static final class Sts extends AbstractC14935gcX> { private AbstractC10145dxI d; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ public Sts(Object obj, AbstractC10145dxI abstractC10145dxI) { super(obj); this.d = abstractC10145dxI; } @Override // o.AbstractC14935gcX public final void b(InterfaceC14984gdp interfaceC14984gdp, List list, List list2) { C14957gcv.e(interfaceC14984gdp, ""); this.d.notifyDataSetChanged(); } } private /* synthetic */ AbstractC10145dxI(byte b) { this((InterfaceC14894gbR) null); } /* JADX WARN: Multi-variable type inference failed */ @Override // androidx.recyclerview.widget.RecyclerView.Sts public /* synthetic */ void onBindViewHolder(RecyclerView.zJl zjl, int i) { AbstractC10155dxT abstractC10155dxT = (AbstractC10155dxT) zjl; C14957gcv.e(abstractC10155dxT, ""); T t = (T) ((List) this.e.c(d[0])).get(i); C14957gcv.e(t, ""); abstractC10155dxT.b = t; d(abstractC10155dxT, t); } @Override // androidx.recyclerview.widget.RecyclerView.Sts public /* synthetic */ void onViewAttachedToWindow(RecyclerView.zJl zjl) { final AbstractC10155dxT abstractC10155dxT = (AbstractC10155dxT) zjl; C14957gcv.e(abstractC10155dxT, ""); super.onViewAttachedToWindow(abstractC10155dxT); abstractC10155dxT.itemView.setOnClickListener(new View.OnClickListener(this, abstractC10155dxT) { // from class: o.dxS private AbstractC10155dxT c; private AbstractC10145dxI e; @Override // android.view.View.OnClickListener public final void onClick(View view) { AbstractC10145dxI.c(this.e, this.c); } { this.e = this; this.c = abstractC10155dxT; } }); } @Override // androidx.recyclerview.widget.RecyclerView.Sts public /* synthetic */ void onViewDetachedFromWindow(RecyclerView.zJl zjl) { AbstractC10155dxT abstractC10155dxT = (AbstractC10155dxT) zjl; C14957gcv.e(abstractC10155dxT, ""); super.onViewDetachedFromWindow(abstractC10155dxT); abstractC10155dxT.itemView.setOnClickListener(null); } /* JADX WARN: Multi-variable type inference failed */ public AbstractC10145dxI(InterfaceC14894gbR interfaceC14894gbR) { this.a = interfaceC14894gbR; gcT gct = gcT.c; this.e = new Sts(C14851gaI.c, this); } @Override // androidx.recyclerview.widget.RecyclerView.Sts public int getItemCount() { return ((List) this.e.c(d[0])).size(); } public static /* synthetic */ void c(AbstractC10145dxI abstractC10145dxI, AbstractC10155dxT abstractC10155dxT) { C14957gcv.e(abstractC10145dxI, ""); C14957gcv.e(abstractC10155dxT, ""); InterfaceC14894gbR interfaceC14894gbR = abstractC10145dxI.a; if (interfaceC14894gbR != null) { T t = abstractC10155dxT.b; if (t == false) { C14957gcv.a(""); t = (T) C14866gag.c; } interfaceC14894gbR.invoke(t); } } public AbstractC10145dxI() { this((byte) 0); } }