package com.scb.phone.view.adapter.easycash; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import androidx.recyclerview.widget.RecyclerView; import butterknife.BindView; import butterknife.ButterKnife; import butterknife.Unbinder; import com.scb.phone.R; import com.scb.phone.view.custom.easycash.CustomEasyCashLoanInformationCard; import java.util.List; import o.KL; import o.pyT; /* loaded from: classes5.dex */ public final class LoanInformationCardAdapter extends RecyclerView.Sts { private HBt b; public List d; /* loaded from: classes5.dex */ public interface HBt { void d(int i, double d); } /* loaded from: classes5.dex */ public class LoanInformationCardViewHolder_ViewBinding implements Unbinder { private LoanInformationCardViewHolder d; public LoanInformationCardViewHolder_ViewBinding(LoanInformationCardViewHolder loanInformationCardViewHolder, View view) { this.d = loanInformationCardViewHolder; loanInformationCardViewHolder.card = (CustomEasyCashLoanInformationCard) pyT.e(view, R.id.loan_information_card, "field 'card'", CustomEasyCashLoanInformationCard.class); } @Override // butterknife.Unbinder public final void a() { LoanInformationCardViewHolder loanInformationCardViewHolder = this.d; if (loanInformationCardViewHolder == null) { throw new IllegalStateException("Bindings already cleared."); } this.d = null; loanInformationCardViewHolder.card = null; } } @Override // androidx.recyclerview.widget.RecyclerView.Sts public final /* synthetic */ void onBindViewHolder(LoanInformationCardViewHolder loanInformationCardViewHolder, int i) { LoanInformationCardViewHolder loanInformationCardViewHolder2 = loanInformationCardViewHolder; KL kl = this.d.get(i); loanInformationCardViewHolder2.card.setLoanImageFromUrl(kl.a); loanInformationCardViewHolder2.card.setLoanName(kl.e); loanInformationCardViewHolder2.card.setSlider(kl.j, new CustomEasyCashLoanInformationCard.LWm(loanInformationCardViewHolder2) { // from class: com.scb.phone.view.adapter.easycash.LoanInformationCardAdapter.LoanInformationCardViewHolder.4 private LoanInformationCardViewHolder e; { this.e = loanInformationCardViewHolder2; } @Override // com.scb.phone.view.custom.easycash.CustomEasyCashLoanInformationCard.LWm public final void d() { HBt unused = this.e.a.b; this.e.getAdapterPosition(); } @Override // com.scb.phone.view.custom.easycash.CustomEasyCashLoanInformationCard.LWm public final void c(double d) { this.e.a.b.d(this.e.getAdapterPosition(), d); } }); loanInformationCardViewHolder2.card.setEnableSlider(kl.c); loanInformationCardViewHolder2.card.setLoanDetails(kl.d); } public LoanInformationCardAdapter(List list, HBt hBt) { this.d = list; this.b = hBt; } @Override // androidx.recyclerview.widget.RecyclerView.Sts public final int getItemCount() { List list = this.d; if (list != null) { return list.size(); } return 0; } /* loaded from: classes5.dex */ public class LoanInformationCardViewHolder extends RecyclerView.zJl { final LoanInformationCardAdapter a; @BindView CustomEasyCashLoanInformationCard card; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ public LoanInformationCardViewHolder(LoanInformationCardAdapter loanInformationCardAdapter, View view) { super(view); this.a = loanInformationCardAdapter; ButterKnife.c(this, view); } } @Override // androidx.recyclerview.widget.RecyclerView.Sts public final /* synthetic */ LoanInformationCardViewHolder onCreateViewHolder(ViewGroup viewGroup, int i) { return new LoanInformationCardViewHolder(this, LayoutInflater.from(viewGroup.getContext()).inflate(R.layout.2131559416, viewGroup, false)); } }