package o; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.RadioButton; import android.widget.RelativeLayout; import android.widget.TextView; import androidx.recyclerview.widget.RecyclerView; import java.util.List; import o.C14930gcM; /* renamed from: o.exc, reason: case insensitive filesystem */ /* loaded from: classes5.dex */ public final class C12406exc extends RecyclerView.Sts { private final HBt b; private int c; private final List d; /* renamed from: o.exc$HBt */ /* loaded from: classes5.dex */ public interface HBt { void d(C0386Fk c0386Fk); } /* JADX WARN: Multi-variable type inference failed */ /* JADX WARN: Type inference failed for: r1v1, types: [T, java.lang.Object] */ @Override // androidx.recyclerview.widget.RecyclerView.Sts public final /* synthetic */ void onBindViewHolder(RVV rvv, final int i) { RVV rvv2 = rvv; C14957gcv.e(rvv2, ""); final C14930gcM.RVV rvv3 = new C14930gcM.RVV(); rvv3.d = this.d.get(i); rvv2.a.setChecked(this.c == i); rvv2.d.setText(((C0386Fk) rvv3.d).b); rvv2.e.setText(((C0386Fk) rvv3.d).A); rvv2.c.setText(((C0386Fk) rvv3.d).v); TextView textView = rvv2.c; String str = ((C0386Fk) rvv3.d).v; textView.setVisibility((str == null || str.length() == 0) ? 8 : 0); rvv2.b.setOnClickListener(new View.OnClickListener(this, i, rvv3) { // from class: o.exf private C14930gcM.RVV a; private C12406exc c; private int d; @Override // android.view.View.OnClickListener public final void onClick(View view) { C12406exc.b(this.c, this.d, this.a); } { this.c = this; this.d = i; this.a = rvv3; } }); } @Override // androidx.recyclerview.widget.RecyclerView.Sts public final /* synthetic */ RVV onCreateViewHolder(ViewGroup viewGroup, int i) { C14957gcv.e(viewGroup, ""); View inflate = LayoutInflater.from(viewGroup.getContext()).inflate(com.scb.phone.R.layout.2131558992, viewGroup, false); C14957gcv.c(inflate, ""); return new RVV(inflate); } /* JADX WARN: Multi-variable type inference failed */ public C12406exc(List list, HBt hBt) { C14957gcv.e(list, ""); C14957gcv.e(hBt, ""); this.d = list; this.b = hBt; this.c = -1; } @Override // androidx.recyclerview.widget.RecyclerView.Sts public final int getItemCount() { return this.d.size(); } /* renamed from: o.exc$RVV */ /* loaded from: classes5.dex */ public static final class RVV extends RecyclerView.zJl { final RadioButton a; final RelativeLayout b; final TextView c; final TextView d; final TextView e; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ public RVV(View view) { super(view); C14957gcv.e(view, ""); View findViewById = view.findViewById(com.scb.phone.R.id.root_view); C14957gcv.d(findViewById, ""); this.b = (RelativeLayout) findViewById; View findViewById2 = view.findViewById(com.scb.phone.R.id.radio_button); C14957gcv.d(findViewById2, ""); this.a = (RadioButton) findViewById2; View findViewById3 = view.findViewById(com.scb.phone.R.id.deposit_number); C14957gcv.d(findViewById3, ""); this.d = (TextView) findViewById3; View findViewById4 = view.findViewById(com.scb.phone.R.id.deposit_type); C14957gcv.d(findViewById4, ""); this.e = (TextView) findViewById4; View findViewById5 = view.findViewById(com.scb.phone.R.id.deposit_nickname); C14957gcv.d(findViewById5, ""); this.c = (TextView) findViewById5; } } /* JADX WARN: Multi-variable type inference failed */ public static /* synthetic */ void b(C12406exc c12406exc, int i, C14930gcM.RVV rvv) { C14957gcv.e(c12406exc, ""); C14957gcv.e(rvv, ""); c12406exc.c = i; c12406exc.notifyDataSetChanged(); c12406exc.b.d((C0386Fk) rvv.d); } }