package com.scb.phone.view.adapter.bulktransfer; 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.transferandpay.CustomTransferAndPayItem; import com.scb.phone.view.custom.transferandpay.CustomTransferAndPayTarget; import java.util.List; import o.FX; import o.pyT; /* loaded from: classes5.dex */ public final class RecipientsReviewAdapter extends RecyclerView.Sts { private List c; /* loaded from: classes5.dex */ public class RecipientsReviewViewHolder_ViewBinding implements Unbinder { private RecipientsReviewViewHolder b; public RecipientsReviewViewHolder_ViewBinding(RecipientsReviewViewHolder recipientsReviewViewHolder, View view) { this.b = recipientsReviewViewHolder; recipientsReviewViewHolder.target = (CustomTransferAndPayTarget) pyT.e(view, R.id.target, "field 'target'", CustomTransferAndPayTarget.class); recipientsReviewViewHolder.amount = (CustomTransferAndPayItem) pyT.e(view, R.id.amount, "field 'amount'", CustomTransferAndPayItem.class); recipientsReviewViewHolder.fee = (CustomTransferAndPayItem) pyT.e(view, R.id.fee, "field 'fee'", CustomTransferAndPayItem.class); } @Override // butterknife.Unbinder public final void a() { RecipientsReviewViewHolder recipientsReviewViewHolder = this.b; if (recipientsReviewViewHolder == null) { throw new IllegalStateException("Bindings already cleared."); } this.b = null; recipientsReviewViewHolder.target = null; recipientsReviewViewHolder.amount = null; recipientsReviewViewHolder.fee = null; } } @Override // androidx.recyclerview.widget.RecyclerView.Sts public final /* synthetic */ void onBindViewHolder(RecipientsReviewViewHolder recipientsReviewViewHolder, int i) { RecipientsReviewViewHolder recipientsReviewViewHolder2 = recipientsReviewViewHolder; FX fx = this.c.get(i); recipientsReviewViewHolder2.target.setAvatar(fx.c); recipientsReviewViewHolder2.target.setTargetName(fx.f); recipientsReviewViewHolder2.target.setReferenceNumbers(fx.a); recipientsReviewViewHolder2.target.setFavoriteName(fx.i); recipientsReviewViewHolder2.target.mFavouriteIcon.setVisibility(8); recipientsReviewViewHolder2.amount.setValue(fx.b); recipientsReviewViewHolder2.fee.setValue(fx.j); if (fx.g) { recipientsReviewViewHolder2.fee.scheduleFeeText.setVisibility(0); } recipientsReviewViewHolder2.fee.mDividerView.setVisibility(8); } public RecipientsReviewAdapter(List list) { this.c = list; } @Override // androidx.recyclerview.widget.RecyclerView.Sts public final int getItemCount() { List list = this.c; if (list == null) { return 0; } return list.size(); } /* loaded from: classes5.dex */ static class RecipientsReviewViewHolder extends RecyclerView.zJl { @BindView CustomTransferAndPayItem amount; @BindView CustomTransferAndPayItem fee; @BindView CustomTransferAndPayTarget target; public RecipientsReviewViewHolder(View view) { super(view); ButterKnife.c(this, view); } } @Override // androidx.recyclerview.widget.RecyclerView.Sts public final /* synthetic */ RecipientsReviewViewHolder onCreateViewHolder(ViewGroup viewGroup, int i) { return new RecipientsReviewViewHolder(LayoutInflater.from(viewGroup.getContext()).inflate(R.layout.2131559074, viewGroup, false)); } }