73 lines
2.5 KiB
Java
73 lines
2.5 KiB
Java
package com.scb.phone.view.adapter.etb;
|
|
|
|
import android.view.LayoutInflater;
|
|
import android.view.View;
|
|
import android.view.ViewGroup;
|
|
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.pyT;
|
|
|
|
/* loaded from: classes5.dex */
|
|
public final class ETBDescriptionAdapter extends RecyclerView.Sts<DescriptionHolder> {
|
|
private List<String> e;
|
|
|
|
@Override // androidx.recyclerview.widget.RecyclerView.Sts
|
|
public final /* synthetic */ void onBindViewHolder(DescriptionHolder descriptionHolder, int i) {
|
|
descriptionHolder.etbDescriptionText.setText(this.e.get(i));
|
|
}
|
|
|
|
/* loaded from: classes5.dex */
|
|
public class DescriptionHolder_ViewBinding implements Unbinder {
|
|
private DescriptionHolder c;
|
|
|
|
public DescriptionHolder_ViewBinding(DescriptionHolder descriptionHolder, View view) {
|
|
this.c = descriptionHolder;
|
|
descriptionHolder.etbDescriptionText = (TextView) pyT.e(view, R.id.etb_description_text, "field 'etbDescriptionText'", TextView.class);
|
|
}
|
|
|
|
@Override // butterknife.Unbinder
|
|
public final void a() {
|
|
DescriptionHolder descriptionHolder = this.c;
|
|
if (descriptionHolder == null) {
|
|
throw new IllegalStateException("Bindings already cleared.");
|
|
}
|
|
this.c = null;
|
|
descriptionHolder.etbDescriptionText = null;
|
|
}
|
|
}
|
|
|
|
public ETBDescriptionAdapter(List<String> list) {
|
|
this.e = list;
|
|
}
|
|
|
|
@Override // androidx.recyclerview.widget.RecyclerView.Sts
|
|
public final int getItemCount() {
|
|
return this.e.size();
|
|
}
|
|
|
|
/* loaded from: classes5.dex */
|
|
class DescriptionHolder extends RecyclerView.zJl {
|
|
private ETBDescriptionAdapter c;
|
|
|
|
@BindView
|
|
TextView etbDescriptionText;
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
public DescriptionHolder(ETBDescriptionAdapter eTBDescriptionAdapter, View view) {
|
|
super(view);
|
|
this.c = eTBDescriptionAdapter;
|
|
ButterKnife.c(this, view);
|
|
}
|
|
}
|
|
|
|
@Override // androidx.recyclerview.widget.RecyclerView.Sts
|
|
public final /* synthetic */ DescriptionHolder onCreateViewHolder(ViewGroup viewGroup, int i) {
|
|
return new DescriptionHolder(this, LayoutInflater.from(viewGroup.getContext()).inflate(R.layout.2131559020, viewGroup, false));
|
|
}
|
|
}
|