package com.scb.phone.view.adapter.investment.scbs; import android.graphics.Color; import android.graphics.PorterDuff; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView; import androidx.recyclerview.widget.RecyclerView; import butterknife.BindView; import butterknife.ButterKnife; import butterknife.Unbinder; import com.scb.phone.R; import java.util.List; import o.C0872Ql; import o.pyT; /* loaded from: classes5.dex */ public final class PieChartLegendAdapter extends RecyclerView.Sts { private List a; /* loaded from: classes5.dex */ public class ChartEntryViewHolder_ViewBinding implements Unbinder { private ChartEntryViewHolder d; public ChartEntryViewHolder_ViewBinding(ChartEntryViewHolder chartEntryViewHolder, View view) { this.d = chartEntryViewHolder; chartEntryViewHolder.titleText = (TextView) pyT.e(view, R.id.tv_entry_title_text, "field 'titleText'", TextView.class); chartEntryViewHolder.percentageText = (TextView) pyT.e(view, R.id.tv_percentage_text, "field 'percentageText'", TextView.class); chartEntryViewHolder.circleIcon = (ImageView) pyT.e(view, R.id.iv_circle_icon, "field 'circleIcon'", ImageView.class); } @Override // butterknife.Unbinder public final void a() { ChartEntryViewHolder chartEntryViewHolder = this.d; if (chartEntryViewHolder == null) { throw new IllegalStateException("Bindings already cleared."); } this.d = null; chartEntryViewHolder.titleText = null; chartEntryViewHolder.percentageText = null; chartEntryViewHolder.circleIcon = null; } } @Override // androidx.recyclerview.widget.RecyclerView.Sts public final /* synthetic */ void onBindViewHolder(ChartEntryViewHolder chartEntryViewHolder, int i) { ChartEntryViewHolder chartEntryViewHolder2 = chartEntryViewHolder; C0872Ql c0872Ql = this.a.get(i); chartEntryViewHolder2.titleText.setText(c0872Ql.b); chartEntryViewHolder2.percentageText.setText(c0872Ql.d); chartEntryViewHolder2.circleIcon.setColorFilter(Color.parseColor(c0872Ql.c), PorterDuff.Mode.SRC_IN); } public PieChartLegendAdapter(List list) { this.a = list; } @Override // androidx.recyclerview.widget.RecyclerView.Sts public final int getItemCount() { return this.a.size(); } /* loaded from: classes5.dex */ public class ChartEntryViewHolder extends RecyclerView.zJl { private PieChartLegendAdapter a; @BindView ImageView circleIcon; @BindView TextView percentageText; @BindView TextView titleText; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ public ChartEntryViewHolder(PieChartLegendAdapter pieChartLegendAdapter, View view) { super(view); this.a = pieChartLegendAdapter; ButterKnife.c(this, view); } } @Override // androidx.recyclerview.widget.RecyclerView.Sts public final /* synthetic */ ChartEntryViewHolder onCreateViewHolder(ViewGroup viewGroup, int i) { return new ChartEntryViewHolder(this, LayoutInflater.from(viewGroup.getContext()).inflate(R.layout.2131560139, viewGroup, false)); } }