package o; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView; import androidx.recyclerview.widget.RecyclerView; import com.scb.phone.view.activity.prepaid.cashout.PrepaidCashOutLandingAndInputToAccountsViewHolder; import java.util.ArrayList; import o.C11627eis; /* renamed from: o.eis, reason: case insensitive filesystem */ /* loaded from: classes5.dex */ public final class C11627eis extends RecyclerView.Sts { private ArrayList c; private LWm e; /* renamed from: o.eis$LWm */ /* loaded from: classes5.dex */ public interface LWm { void b(); void d(C1066Uw c1066Uw); } @Override // androidx.recyclerview.widget.RecyclerView.Sts public final /* synthetic */ void onBindViewHolder(PrepaidCashOutLandingAndInputToAccountsViewHolder prepaidCashOutLandingAndInputToAccountsViewHolder, int i) { PrepaidCashOutLandingAndInputToAccountsViewHolder prepaidCashOutLandingAndInputToAccountsViewHolder2 = prepaidCashOutLandingAndInputToAccountsViewHolder; C14957gcv.e(prepaidCashOutLandingAndInputToAccountsViewHolder2, ""); C1066Uw c1066Uw = this.c.get(i); C14957gcv.c(c1066Uw, ""); final C1066Uw c1066Uw2 = c1066Uw; final LWm lWm = this.e; C14957gcv.e(c1066Uw2, ""); C14957gcv.e(lWm, ""); TextView textView = prepaidCashOutLandingAndInputToAccountsViewHolder2.tvAccountName; ImageView imageView = null; if (textView == null) { C14957gcv.a(""); textView = null; } textView.setText(c1066Uw2.a); TextView textView2 = prepaidCashOutLandingAndInputToAccountsViewHolder2.tvAccountNumber; if (textView2 == null) { C14957gcv.a(""); textView2 = null; } textView2.setText(c1066Uw2.d); prepaidCashOutLandingAndInputToAccountsViewHolder2.itemView.setOnClickListener(new View.OnClickListener(lWm, c1066Uw2) { // from class: o.eip private C11627eis.LWm a; private C1066Uw b; @Override // android.view.View.OnClickListener public final void onClick(View view) { PrepaidCashOutLandingAndInputToAccountsViewHolder.a(this.a, this.b); } { this.a = lWm; this.b = c1066Uw2; } }); ImageView imageView2 = prepaidCashOutLandingAndInputToAccountsViewHolder2.ivEdit; if (imageView2 == null) { C14957gcv.a(""); imageView2 = null; } imageView2.setOnClickListener(new View.OnClickListener(lWm) { // from class: o.eit private C11627eis.LWm a; @Override // android.view.View.OnClickListener public final void onClick(View view) { PrepaidCashOutLandingAndInputToAccountsViewHolder.a(this.a); } { this.a = lWm; } }); ImageView imageView3 = prepaidCashOutLandingAndInputToAccountsViewHolder2.ivIcon; if (imageView3 == null) { C14957gcv.a(""); imageView3 = null; } imageView3.setVisibility(c1066Uw2.b ? 0 : 8); ImageView imageView4 = prepaidCashOutLandingAndInputToAccountsViewHolder2.ivEdit; if (imageView4 != null) { imageView = imageView4; } else { C14957gcv.a(""); } imageView.setVisibility(c1066Uw2.e ? 0 : 4); } @Override // androidx.recyclerview.widget.RecyclerView.Sts public final /* synthetic */ PrepaidCashOutLandingAndInputToAccountsViewHolder onCreateViewHolder(ViewGroup viewGroup, int i) { C14957gcv.e(viewGroup, ""); View inflate = LayoutInflater.from(viewGroup.getContext()).inflate(com.scb.phone.R.layout.2131560033, viewGroup, false); C14957gcv.c(inflate, ""); return new PrepaidCashOutLandingAndInputToAccountsViewHolder(inflate); } public C11627eis(ArrayList arrayList, LWm lWm) { C14957gcv.e(arrayList, ""); C14957gcv.e(lWm, ""); this.c = arrayList; this.e = lWm; } @Override // androidx.recyclerview.widget.RecyclerView.Sts public final int getItemCount() { return this.c.size(); } }