package o; import android.view.View; import android.view.ViewGroup; import android.widget.CheckBox; import android.widget.CompoundButton; import android.widget.TextView; import androidx.recyclerview.widget.RecyclerView; import com.scb.phone.view.adapter.singleform.viewholder.SingleFormSourceOfIncomeViewHolder; import java.util.List; /* renamed from: o.eyM, reason: case insensitive filesystem */ /* loaded from: classes5.dex */ public final class C12443eyM extends RecyclerView.Sts { private final InterfaceC14937gcb a; public List c; @Override // androidx.recyclerview.widget.RecyclerView.Sts public final /* synthetic */ void onBindViewHolder(SingleFormSourceOfIncomeViewHolder singleFormSourceOfIncomeViewHolder, int i) { final SingleFormSourceOfIncomeViewHolder singleFormSourceOfIncomeViewHolder2 = singleFormSourceOfIncomeViewHolder; C14957gcv.e(singleFormSourceOfIncomeViewHolder2, ""); WC wc = this.c.get(i); final InterfaceC14937gcb interfaceC14937gcb = this.a; C14957gcv.e(wc, ""); C14957gcv.e(interfaceC14937gcb, ""); CheckBox checkBox = singleFormSourceOfIncomeViewHolder2.cbSourceOfIncome; CheckBox checkBox2 = null; if (checkBox == null) { C14957gcv.a(""); checkBox = null; } checkBox.setOnCheckedChangeListener(null); singleFormSourceOfIncomeViewHolder2.itemView.setOnClickListener(null); TextView textView = singleFormSourceOfIncomeViewHolder2.tvSourceOfIncome; if (textView == null) { C14957gcv.a(""); textView = null; } textView.setText(wc.d); CheckBox checkBox3 = singleFormSourceOfIncomeViewHolder2.cbSourceOfIncome; if (checkBox3 != null) { checkBox2 = checkBox3; } else { C14957gcv.a(""); } checkBox2.setChecked(wc.e); checkBox2.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener(interfaceC14937gcb, singleFormSourceOfIncomeViewHolder2) { // from class: o.eyS private InterfaceC14937gcb c; private SingleFormSourceOfIncomeViewHolder d; @Override // android.widget.CompoundButton.OnCheckedChangeListener public final void onCheckedChanged(CompoundButton compoundButton, boolean z) { SingleFormSourceOfIncomeViewHolder.c(this.c, this.d, z); } { this.c = interfaceC14937gcb; this.d = singleFormSourceOfIncomeViewHolder2; } }); singleFormSourceOfIncomeViewHolder2.itemView.setOnClickListener(new View.OnClickListener(interfaceC14937gcb, singleFormSourceOfIncomeViewHolder2) { // from class: o.eyU private InterfaceC14937gcb a; private SingleFormSourceOfIncomeViewHolder d; @Override // android.view.View.OnClickListener public final void onClick(View view) { SingleFormSourceOfIncomeViewHolder.d(this.a, this.d); } { this.a = interfaceC14937gcb; this.d = singleFormSourceOfIncomeViewHolder2; } }); } @Override // androidx.recyclerview.widget.RecyclerView.Sts public final /* synthetic */ SingleFormSourceOfIncomeViewHolder onCreateViewHolder(ViewGroup viewGroup, int i) { C14957gcv.e(viewGroup, ""); return new SingleFormSourceOfIncomeViewHolder(viewGroup); } /* JADX WARN: Multi-variable type inference failed */ private C12443eyM(List list, InterfaceC14937gcb interfaceC14937gcb) { C14957gcv.e(list, ""); C14957gcv.e(interfaceC14937gcb, ""); this.c = list; this.a = interfaceC14937gcb; } @Override // androidx.recyclerview.widget.RecyclerView.Sts public final int getItemCount() { return this.c.size(); } public /* synthetic */ C12443eyM(InterfaceC14937gcb interfaceC14937gcb) { this(C14851gaI.c, interfaceC14937gcb); } }