what-the-bank/sources/com/scb/phone/view/adapter/etb/ETBSelectionAdapter.java

125 lines
4.4 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.adapter.etb;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
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.pyT;
/* loaded from: classes5.dex */
public final class ETBSelectionAdapter extends RecyclerView.Sts<OneButtonHolder> {
private List<? extends Object> b;
/* loaded from: classes5.dex */
public class TwoButtonHolder_ViewBinding extends OneButtonHolder_ViewBinding {
private TwoButtonHolder e;
public TwoButtonHolder_ViewBinding(TwoButtonHolder twoButtonHolder, View view) {
super(twoButtonHolder, view);
this.e = twoButtonHolder;
twoButtonHolder.buttonSelect = (Button) pyT.e(view, R.id.btn_select, "field 'buttonSelect'", Button.class);
}
@Override // com.scb.phone.view.adapter.etb.ETBSelectionAdapter.OneButtonHolder_ViewBinding, butterknife.Unbinder
public final void a() {
TwoButtonHolder twoButtonHolder = this.e;
if (twoButtonHolder == null) {
throw new IllegalStateException("Bindings already cleared.");
}
this.e = null;
twoButtonHolder.buttonSelect = null;
super.a();
}
}
/* loaded from: classes5.dex */
public class OneButtonHolder_ViewBinding implements Unbinder {
private OneButtonHolder c;
public OneButtonHolder_ViewBinding(OneButtonHolder oneButtonHolder, View view) {
this.c = oneButtonHolder;
oneButtonHolder.imageAccountType = (ImageView) pyT.e(view, R.id.image_account_type, "field 'imageAccountType'", ImageView.class);
oneButtonHolder.textAccountType = (TextView) pyT.e(view, R.id.text_account_type, "field 'textAccountType'", TextView.class);
oneButtonHolder.textAccountDescription = (TextView) pyT.e(view, R.id.text_account_description, "field 'textAccountDescription'", TextView.class);
oneButtonHolder.buttonDetail = (Button) pyT.e(view, R.id.btn_detail, "field 'buttonDetail'", Button.class);
}
@Override // butterknife.Unbinder
public void a() {
OneButtonHolder oneButtonHolder = this.c;
if (oneButtonHolder == null) {
throw new IllegalStateException("Bindings already cleared.");
}
this.c = null;
oneButtonHolder.imageAccountType = null;
oneButtonHolder.textAccountType = null;
oneButtonHolder.textAccountDescription = null;
oneButtonHolder.buttonDetail = null;
}
}
@Override // androidx.recyclerview.widget.RecyclerView.Sts
public final /* synthetic */ void onBindViewHolder(OneButtonHolder oneButtonHolder, int i) {
throw null;
}
@Override // androidx.recyclerview.widget.RecyclerView.Sts
public final int getItemViewType(int i) {
throw null;
}
@Override // androidx.recyclerview.widget.RecyclerView.Sts
public final int getItemCount() {
throw null;
}
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes5.dex */
public static class OneButtonHolder extends RecyclerView.zJl {
@BindView
Button buttonDetail;
@BindView
ImageView imageAccountType;
@BindView
TextView textAccountDescription;
@BindView
TextView textAccountType;
OneButtonHolder(View view) {
super(view);
ButterKnife.c(this, view);
}
}
/* loaded from: classes5.dex */
static class TwoButtonHolder extends OneButtonHolder {
@BindView
Button buttonSelect;
TwoButtonHolder(View view) {
super(view);
}
}
@Override // androidx.recyclerview.widget.RecyclerView.Sts
public final /* synthetic */ OneButtonHolder onCreateViewHolder(ViewGroup viewGroup, int i) {
if (i == 0) {
return new OneButtonHolder(LayoutInflater.from(viewGroup.getContext()).inflate(R.layout.2131559118, viewGroup, false));
}
return new TwoButtonHolder(LayoutInflater.from(viewGroup.getContext()).inflate(R.layout.2131559117, viewGroup, false));
}
}