70 lines
2.2 KiB
Java
70 lines
2.2 KiB
Java
|
package o;
|
||
|
|
||
|
import android.view.View;
|
||
|
import android.view.ViewGroup;
|
||
|
import androidx.recyclerview.widget.RecyclerView;
|
||
|
import com.scb.phone.view.custom.investment.scbs.open.SourceOfFundsItemCustomView;
|
||
|
import java.util.List;
|
||
|
import o.C12284evM;
|
||
|
|
||
|
/* renamed from: o.evM, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes5.dex */
|
||
|
public final class C12284evM extends RecyclerView.Sts<RVV> {
|
||
|
private List<C0885Qu> d;
|
||
|
private IeS e;
|
||
|
|
||
|
/* renamed from: o.evM$IeS */
|
||
|
/* loaded from: classes5.dex */
|
||
|
public interface IeS {
|
||
|
void d(C0885Qu c0885Qu);
|
||
|
}
|
||
|
|
||
|
@Override // androidx.recyclerview.widget.RecyclerView.Sts
|
||
|
public final /* synthetic */ void onBindViewHolder(RVV rvv, int i) {
|
||
|
final C0885Qu c0885Qu = this.d.get(i);
|
||
|
final IeS ieS = this.e;
|
||
|
SourceOfFundsItemCustomView sourceOfFundsItemCustomView = rvv.b;
|
||
|
sourceOfFundsItemCustomView.textView.setText(c0885Qu.b);
|
||
|
sourceOfFundsItemCustomView.setOnClickListener(new View.OnClickListener(ieS, c0885Qu) { // from class: o.eDr
|
||
|
private C0885Qu d;
|
||
|
private C12284evM.IeS e;
|
||
|
|
||
|
@Override // android.view.View.OnClickListener
|
||
|
public final void onClick(View view) {
|
||
|
this.e.d(this.d);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.e = ieS;
|
||
|
this.d = c0885Qu;
|
||
|
}
|
||
|
});
|
||
|
}
|
||
|
|
||
|
public C12284evM(List<C0885Qu> list, IeS ieS) {
|
||
|
this.d = list;
|
||
|
this.e = ieS;
|
||
|
}
|
||
|
|
||
|
@Override // androidx.recyclerview.widget.RecyclerView.Sts
|
||
|
public final int getItemCount() {
|
||
|
return this.d.size();
|
||
|
}
|
||
|
|
||
|
/* renamed from: o.evM$RVV */
|
||
|
/* loaded from: classes5.dex */
|
||
|
static class RVV extends RecyclerView.zJl {
|
||
|
SourceOfFundsItemCustomView b;
|
||
|
|
||
|
RVV(SourceOfFundsItemCustomView sourceOfFundsItemCustomView) {
|
||
|
super(sourceOfFundsItemCustomView);
|
||
|
this.b = sourceOfFundsItemCustomView;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // androidx.recyclerview.widget.RecyclerView.Sts
|
||
|
public final /* synthetic */ RVV onCreateViewHolder(ViewGroup viewGroup, int i) {
|
||
|
return new RVV(new SourceOfFundsItemCustomView(viewGroup.getContext()));
|
||
|
}
|
||
|
}
|