143 lines
4.8 KiB
Java
143 lines
4.8 KiB
Java
package com.scb.phone.view.adapter.requesttopay;
|
|
|
|
import android.view.LayoutInflater;
|
|
import android.view.View;
|
|
import android.view.ViewGroup;
|
|
import android.widget.LinearLayout;
|
|
import android.widget.TextView;
|
|
import androidx.recyclerview.widget.RecyclerView;
|
|
import butterknife.BindView;
|
|
import butterknife.ButterKnife;
|
|
import butterknife.Unbinder;
|
|
import com.scb.phone.R;
|
|
import com.scb.phone.view.adapter.requesttopay.IncomingAdapter;
|
|
import java.util.List;
|
|
import o.VF;
|
|
import o.pyT;
|
|
|
|
/* loaded from: classes5.dex */
|
|
public final class IncomingAdapter extends RecyclerView.Sts {
|
|
public boolean a = false;
|
|
private IeS b;
|
|
public List<VF> e;
|
|
|
|
@FunctionalInterface
|
|
/* loaded from: classes5.dex */
|
|
public interface HBt {
|
|
void d(boolean z);
|
|
}
|
|
|
|
/* loaded from: classes5.dex */
|
|
public interface IeS {
|
|
void a(int i);
|
|
}
|
|
|
|
/* loaded from: classes5.dex */
|
|
public class IncomingHolder_ViewBinding implements Unbinder {
|
|
private IncomingHolder b;
|
|
|
|
public IncomingHolder_ViewBinding(IncomingHolder incomingHolder, View view) {
|
|
this.b = incomingHolder;
|
|
incomingHolder.container = (LinearLayout) pyT.e(view, R.id.container_relative_layout, "field 'container'", LinearLayout.class);
|
|
incomingHolder.tvName = (TextView) pyT.e(view, R.id.name_outgoing_textview, "field 'tvName'", TextView.class);
|
|
incomingHolder.tvProxyNumber = (TextView) pyT.e(view, R.id.pxoxy_number_outgoing_textview, "field 'tvProxyNumber'", TextView.class);
|
|
incomingHolder.tvDueDate = (TextView) pyT.e(view, R.id.due_date_outgoing_textview, "field 'tvDueDate'", TextView.class);
|
|
incomingHolder.tvAmount = (TextView) pyT.e(view, R.id.amount_outgoing_textview, "field 'tvAmount'", TextView.class);
|
|
incomingHolder.tvStatus = (TextView) pyT.e(view, R.id.status_outgoing_textview, "field 'tvStatus'", TextView.class);
|
|
}
|
|
|
|
@Override // butterknife.Unbinder
|
|
public final void a() {
|
|
IncomingHolder incomingHolder = this.b;
|
|
if (incomingHolder == null) {
|
|
throw new IllegalStateException("Bindings already cleared.");
|
|
}
|
|
this.b = null;
|
|
incomingHolder.container = null;
|
|
incomingHolder.tvName = null;
|
|
incomingHolder.tvProxyNumber = null;
|
|
incomingHolder.tvDueDate = null;
|
|
incomingHolder.tvAmount = null;
|
|
incomingHolder.tvStatus = null;
|
|
}
|
|
}
|
|
|
|
public IncomingAdapter(IeS ieS) {
|
|
this.b = ieS;
|
|
}
|
|
|
|
@Override // androidx.recyclerview.widget.RecyclerView.Sts
|
|
public final RecyclerView.zJl onCreateViewHolder(ViewGroup viewGroup, int i) {
|
|
return new IncomingHolder(this, LayoutInflater.from(viewGroup.getContext()).inflate(R.layout.2131559197, viewGroup, false));
|
|
}
|
|
|
|
@Override // androidx.recyclerview.widget.RecyclerView.Sts
|
|
public final void onBindViewHolder(RecyclerView.zJl zjl, final int i) {
|
|
if (zjl instanceof IncomingHolder) {
|
|
IncomingHolder incomingHolder = (IncomingHolder) zjl;
|
|
VF vf = this.e.get(i);
|
|
incomingHolder.tvName.setText(vf.b);
|
|
incomingHolder.tvProxyNumber.setText(vf.g);
|
|
incomingHolder.tvDueDate.setText(vf.c);
|
|
incomingHolder.tvAmount.setText(vf.d);
|
|
incomingHolder.tvStatus.setText(vf.m);
|
|
incomingHolder.container.setOnClickListener(new View.OnClickListener(this, i) { // from class: o.eys
|
|
private IncomingAdapter b;
|
|
private int e;
|
|
|
|
@Override // android.view.View.OnClickListener
|
|
public final void onClick(View view) {
|
|
IncomingAdapter.d(this.b, this.e);
|
|
}
|
|
|
|
{
|
|
this.b = this;
|
|
this.e = i;
|
|
}
|
|
});
|
|
}
|
|
}
|
|
|
|
@Override // androidx.recyclerview.widget.RecyclerView.Sts
|
|
public final int getItemCount() {
|
|
return this.e.size();
|
|
}
|
|
|
|
/* loaded from: classes5.dex */
|
|
public class IncomingHolder extends RecyclerView.zJl {
|
|
private IncomingAdapter b;
|
|
|
|
@BindView
|
|
LinearLayout container;
|
|
|
|
@BindView
|
|
TextView tvAmount;
|
|
|
|
@BindView
|
|
TextView tvDueDate;
|
|
|
|
@BindView
|
|
TextView tvName;
|
|
|
|
@BindView
|
|
TextView tvProxyNumber;
|
|
|
|
@BindView
|
|
TextView tvStatus;
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
public IncomingHolder(IncomingAdapter incomingAdapter, View view) {
|
|
super(view);
|
|
this.b = incomingAdapter;
|
|
ButterKnife.c(this, view);
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ void d(IncomingAdapter incomingAdapter, int i) {
|
|
IeS ieS = incomingAdapter.b;
|
|
if (ieS != null) {
|
|
ieS.a(i);
|
|
}
|
|
}
|
|
}
|