65 lines
2.7 KiB
Java
65 lines
2.7 KiB
Java
package o;
|
|
|
|
import android.view.View;
|
|
import android.view.ViewGroup;
|
|
import android.widget.TextView;
|
|
import androidx.recyclerview.widget.RecyclerView;
|
|
import com.scb.phone.view.adapter.singleform.viewholder.SingleFormInvestmentObjectivesViewHolder;
|
|
import java.util.List;
|
|
|
|
/* renamed from: o.eyD, reason: case insensitive filesystem */
|
|
/* loaded from: classes5.dex */
|
|
public final class C12434eyD extends RecyclerView.Sts<SingleFormInvestmentObjectivesViewHolder> {
|
|
private List<C1153Wv> a;
|
|
private final InterfaceC14894gbR<C1153Wv, C14866gag> e;
|
|
|
|
@Override // androidx.recyclerview.widget.RecyclerView.Sts
|
|
public final /* synthetic */ void onBindViewHolder(SingleFormInvestmentObjectivesViewHolder singleFormInvestmentObjectivesViewHolder, int i) {
|
|
SingleFormInvestmentObjectivesViewHolder singleFormInvestmentObjectivesViewHolder2 = singleFormInvestmentObjectivesViewHolder;
|
|
C14957gcv.e(singleFormInvestmentObjectivesViewHolder2, "");
|
|
final C1153Wv c1153Wv = this.a.get(i);
|
|
final InterfaceC14894gbR<C1153Wv, C14866gag> interfaceC14894gbR = this.e;
|
|
C14957gcv.e(c1153Wv, "");
|
|
C14957gcv.e(interfaceC14894gbR, "");
|
|
TextView textView = singleFormInvestmentObjectivesViewHolder2.tvInvestmentObjective;
|
|
if (textView == null) {
|
|
C14957gcv.a("");
|
|
textView = null;
|
|
}
|
|
textView.setText(c1153Wv.d);
|
|
singleFormInvestmentObjectivesViewHolder2.itemView.setOnClickListener(new View.OnClickListener(interfaceC14894gbR, c1153Wv) { // from class: o.eyO
|
|
private InterfaceC14894gbR d;
|
|
private C1153Wv e;
|
|
|
|
@Override // android.view.View.OnClickListener
|
|
public final void onClick(View view) {
|
|
SingleFormInvestmentObjectivesViewHolder.b(this.d, this.e);
|
|
}
|
|
|
|
{
|
|
this.d = interfaceC14894gbR;
|
|
this.e = c1153Wv;
|
|
}
|
|
});
|
|
}
|
|
|
|
@Override // androidx.recyclerview.widget.RecyclerView.Sts
|
|
public final /* synthetic */ SingleFormInvestmentObjectivesViewHolder onCreateViewHolder(ViewGroup viewGroup, int i) {
|
|
C14957gcv.e(viewGroup, "");
|
|
return new SingleFormInvestmentObjectivesViewHolder(viewGroup);
|
|
}
|
|
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
public C12434eyD(List<C1153Wv> list, InterfaceC14894gbR<? super C1153Wv, C14866gag> interfaceC14894gbR) {
|
|
C14957gcv.e(list, "");
|
|
C14957gcv.e(interfaceC14894gbR, "");
|
|
this.a = list;
|
|
this.e = interfaceC14894gbR;
|
|
}
|
|
|
|
@Override // androidx.recyclerview.widget.RecyclerView.Sts
|
|
public final int getItemCount() {
|
|
return this.a.size();
|
|
}
|
|
}
|