66 lines
2.3 KiB
Java
66 lines
2.3 KiB
Java
|
package o;
|
||
|
|
||
|
import android.view.LayoutInflater;
|
||
|
import android.view.View;
|
||
|
import android.view.ViewGroup;
|
||
|
import androidx.recyclerview.widget.RecyclerView;
|
||
|
import java.util.List;
|
||
|
|
||
|
/* renamed from: o.evL, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes5.dex */
|
||
|
public final class C12283evL extends RecyclerView.Sts<C12280evI> {
|
||
|
private final InterfaceC12870fJn a;
|
||
|
public List<C0845Pv> c;
|
||
|
private final boolean e;
|
||
|
|
||
|
@Override // androidx.recyclerview.widget.RecyclerView.Sts
|
||
|
public final /* synthetic */ void onBindViewHolder(C12280evI c12280evI, int i) {
|
||
|
final C12280evI c12280evI2 = c12280evI;
|
||
|
C14957gcv.e(c12280evI2, "");
|
||
|
final C0845Pv c0845Pv = this.c.get(i);
|
||
|
C14957gcv.e(c0845Pv, "");
|
||
|
c12280evI2.b.c.setOnClickListener(new View.OnClickListener(c12280evI2, c0845Pv) { // from class: o.evJ
|
||
|
private C0845Pv b;
|
||
|
private C12280evI e;
|
||
|
|
||
|
@Override // android.view.View.OnClickListener
|
||
|
public final void onClick(View view) {
|
||
|
C12280evI.c(this.e, this.b);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.e = c12280evI2;
|
||
|
this.b = c0845Pv;
|
||
|
}
|
||
|
});
|
||
|
c12280evI2.b.h.setVisibility(0);
|
||
|
c12280evI2.b.h.setText(c0845Pv.g);
|
||
|
c12280evI2.b.j.setText(c0845Pv.d);
|
||
|
c12280evI2.b.e.setText(c0845Pv.k);
|
||
|
c12280evI2.b.b.setText(c0845Pv.b);
|
||
|
c12280evI2.b.d.setText(c0845Pv.a);
|
||
|
c12280evI2.b.i.setVisibility((!c12280evI2.c || c0845Pv.l == null) ? 8 : 0);
|
||
|
}
|
||
|
|
||
|
@Override // androidx.recyclerview.widget.RecyclerView.Sts
|
||
|
public final /* synthetic */ C12280evI onCreateViewHolder(ViewGroup viewGroup, int i) {
|
||
|
C14957gcv.e(viewGroup, "");
|
||
|
XKf QU_ = XKf.QU_(LayoutInflater.from(viewGroup.getContext()), viewGroup);
|
||
|
C14957gcv.c(QU_, "");
|
||
|
return new C12280evI(QU_, this.a, this.e);
|
||
|
}
|
||
|
|
||
|
public C12283evL(List<C0845Pv> list, InterfaceC12870fJn interfaceC12870fJn, boolean z) {
|
||
|
C14957gcv.e(list, "");
|
||
|
C14957gcv.e(interfaceC12870fJn, "");
|
||
|
this.c = list;
|
||
|
this.a = interfaceC12870fJn;
|
||
|
this.e = z;
|
||
|
}
|
||
|
|
||
|
@Override // androidx.recyclerview.widget.RecyclerView.Sts
|
||
|
public final int getItemCount() {
|
||
|
return this.c.size();
|
||
|
}
|
||
|
}
|