package o; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.LinearLayout; import android.widget.TextView; import androidx.recyclerview.widget.RecyclerView; import java.util.List; /* renamed from: o.eut, reason: case insensitive filesystem */ /* loaded from: classes5.dex */ public final class C12264eut extends RecyclerView.Sts { private final MJ d; public List e; @Override // androidx.recyclerview.widget.RecyclerView.Sts public final /* synthetic */ void onBindViewHolder(C12266euv c12266euv, int i) { final C12266euv c12266euv2 = c12266euv; C14957gcv.e(c12266euv2, ""); final MG mg = this.e.get(i); C14957gcv.e(mg, ""); c12266euv2.e.d.setText(mg.f); boolean z = mg.c; qyQ qyq = c12266euv2.e; qyq.b.setEnabled(z); qyq.d.setEnabled(z); qyq.e.setEnabled(z); String str = mg.e; ImageView imageView = c12266euv2.e.b; C14957gcv.c(imageView, ""); C10456eEq.aqe_(imageView, str, new PNS().c(com.scb.phone.R.drawable.ic_unupload_selector).a(com.scb.phone.R.drawable.ic_unupload_selector).c(RBw.d, new CDU())); String str2 = mg.b; boolean z2 = mg.c; TextView textView = c12266euv2.e.e; C14957gcv.c(textView, ""); TextView textView2 = textView; boolean z3 = !z2; C14957gcv.e(textView2, ""); textView2.setVisibility(z3 ? 0 : 8); textView.setText(str2); c12266euv2.e.c.setOnClickListener(new View.OnClickListener(c12266euv2, mg) { // from class: o.euu private MG a; private C12266euv e; @Override // android.view.View.OnClickListener public final void onClick(View view) { C12266euv.b(this.e, this.a); } { this.e = c12266euv2; this.a = mg; } }); } @Override // androidx.recyclerview.widget.RecyclerView.Sts public final /* synthetic */ C12266euv onCreateViewHolder(ViewGroup viewGroup, int i) { C14957gcv.e(viewGroup, ""); View inflate = LayoutInflater.from(viewGroup.getContext()).inflate(com.scb.phone.R.layout.2131560002, viewGroup, false); LinearLayout linearLayout = (LinearLayout) inflate; int i2 = com.scb.phone.R.id.iv_product_menu_icon; ImageView imageView = (ImageView) qeC.e(inflate, com.scb.phone.R.id.iv_product_menu_icon); if (imageView != null) { i2 = com.scb.phone.R.id.tv_product_menu_description; TextView textView = (TextView) qeC.e(inflate, com.scb.phone.R.id.tv_product_menu_description); if (textView != null) { i2 = com.scb.phone.R.id.tv_product_menu_name; TextView textView2 = (TextView) qeC.e(inflate, com.scb.phone.R.id.tv_product_menu_name); if (textView2 != null) { qyQ qyq = new qyQ(linearLayout, linearLayout, imageView, textView, textView2); C14957gcv.c(qyq, ""); return new C12266euv(qyq, this.d); } } } throw new NullPointerException("Missing required view with ID: ".concat(inflate.getResources().getResourceName(i2))); } public C12264eut(MJ mj) { C14957gcv.e(mj, ""); this.d = mj; this.e = C14851gaI.c; } @Override // androidx.recyclerview.widget.RecyclerView.Sts public final int getItemCount() { return this.e.size(); } }