what-the-bank/sources/com/scb/phone/view/adapter/easycash/ExtendedAccountSelectorAdap...

81 lines
2.9 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.adapter.easycash;
import android.content.Context;
import android.view.View;
import android.widget.TextView;
import butterknife.BindView;
import butterknife.ButterKnife;
import com.scb.phone.R;
import com.scb.phone.view.adapter.easycash.AccountSelectorAdapter;
import java.util.List;
import o.C1178Xg;
import o.InterfaceC12824fIT;
import o.PRA;
import o.YKU;
import o.pyT;
/* loaded from: classes5.dex */
public final class ExtendedAccountSelectorAdapter extends AccountSelectorAdapter {
private List<C1178Xg> d;
private ExtendedItemViewHolder e;
@Override // com.scb.phone.view.adapter.easycash.AccountSelectorAdapter
protected final int a() {
return R.layout.2131559119;
}
/* loaded from: classes5.dex */
public class ExtendedItemViewHolder_ViewBinding extends AccountSelectorAdapter.ItemViewHolder_ViewBinding {
private ExtendedItemViewHolder e;
public ExtendedItemViewHolder_ViewBinding(ExtendedItemViewHolder extendedItemViewHolder, View view) {
super(extendedItemViewHolder, view);
this.e = extendedItemViewHolder;
extendedItemViewHolder.address = (TextView) pyT.e(view, R.id.account_address_text_view, "field 'address'", TextView.class);
}
@Override // com.scb.phone.view.adapter.easycash.AccountSelectorAdapter.ItemViewHolder_ViewBinding, butterknife.Unbinder
public final void a() {
ExtendedItemViewHolder extendedItemViewHolder = this.e;
if (extendedItemViewHolder == null) {
throw new IllegalStateException("Bindings already cleared.");
}
this.e = null;
extendedItemViewHolder.address = null;
super.a();
}
}
@Override // com.scb.phone.view.adapter.easycash.AccountSelectorAdapter
protected final AccountSelectorAdapter.ItemViewHolder e() {
ExtendedItemViewHolder extendedItemViewHolder = new ExtendedItemViewHolder(c());
this.e = extendedItemViewHolder;
return extendedItemViewHolder;
}
@Override // com.scb.phone.view.adapter.easycash.AccountSelectorAdapter
protected final void a(int i) {
this.e.address.setVisibility(0);
this.e.address.setText(this.d.get(i).a);
}
/* loaded from: classes5.dex */
static class ExtendedItemViewHolder extends AccountSelectorAdapter.ItemViewHolder {
@BindView
TextView address;
private View e;
ExtendedItemViewHolder(View view) {
super(view);
this.e = view;
ButterKnife.c(this, view);
}
}
public ExtendedAccountSelectorAdapter(Context context, List<C1178Xg> list, InterfaceC12824fIT interfaceC12824fIT) {
super(context, (List) new YKU(list).a(new PRA.Sts(new PRA.AnonymousClass4(), new PRA.AnonymousClass8())), interfaceC12824fIT);
this.d = list;
}
}