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

84 lines
3.4 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.TextView;
import androidx.recyclerview.widget.RecyclerView;
import java.util.List;
/* renamed from: o.evH, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public final class C12279evH extends RecyclerView.Sts<C12287evP> {
private final boolean b;
private final InterfaceC12864fJh c;
public List<PY> d;
@Override // androidx.recyclerview.widget.RecyclerView.Sts
public final /* synthetic */ void onBindViewHolder(C12287evP c12287evP, int i) {
final C12287evP c12287evP2 = c12287evP;
C14957gcv.e(c12287evP2, "");
final PY py = this.d.get(i);
C14957gcv.e(py, "");
c12287evP2.b.a.setOnClickListener(new View.OnClickListener(c12287evP2, py) { // from class: o.evQ
private C12287evP b;
private PY c;
@Override // android.view.View.OnClickListener
public final void onClick(View view) {
C12287evP.a(this.b, this.c);
}
{
this.b = c12287evP2;
this.c = py;
}
});
c12287evP2.b.c.setText(py.a);
c12287evP2.b.d.setText(py.d);
c12287evP2.b.e.setVisibility((!c12287evP2.a || py.l == null) ? 8 : 0);
}
@Override // androidx.recyclerview.widget.RecyclerView.Sts
public final /* synthetic */ C12287evP onCreateViewHolder(ViewGroup viewGroup, int i) {
C14957gcv.e(viewGroup, "");
View inflate = LayoutInflater.from(viewGroup.getContext()).inflate(com.scb.phone.R.layout.2131559141, viewGroup, false);
RelativeLayout relativeLayout = (RelativeLayout) inflate;
int i2 = com.scb.phone.R.id.ll_layout_fund_title;
LinearLayout linearLayout = (LinearLayout) qeC.e(inflate, com.scb.phone.R.id.ll_layout_fund_title);
if (linearLayout != null) {
i2 = com.scb.phone.R.id.tv_fund_description;
TextView textView = (TextView) qeC.e(inflate, com.scb.phone.R.id.tv_fund_description);
if (textView != null) {
i2 = com.scb.phone.R.id.tv_omnibus_capsule;
TextView textView2 = (TextView) qeC.e(inflate, com.scb.phone.R.id.tv_omnibus_capsule);
if (textView2 != null) {
i2 = com.scb.phone.R.id.tv_search_fund_code;
TextView textView3 = (TextView) qeC.e(inflate, com.scb.phone.R.id.tv_search_fund_code);
if (textView3 != null) {
vwF vwf = new vwF(relativeLayout, relativeLayout, linearLayout, textView, textView2, textView3);
C14957gcv.c(vwf, "");
return new C12287evP(vwf, this.c, this.b);
}
}
}
}
throw new NullPointerException("Missing required view with ID: ".concat(inflate.getResources().getResourceName(i2)));
}
public C12279evH(List<PY> list, InterfaceC12864fJh interfaceC12864fJh, boolean z) {
C14957gcv.e(list, "");
C14957gcv.e(interfaceC12864fJh, "");
this.d = list;
this.c = interfaceC12864fJh;
this.b = z;
}
@Override // androidx.recyclerview.widget.RecyclerView.Sts
public final int getItemCount() {
return this.d.size();
}
}