what-the-bank/sources/com/scb/phone/view/custom/investment/CustomSuccessInformation.java

58 lines
1.5 KiB
Java

package com.scb.phone.view.custom.investment;
import android.content.Context;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.view.ViewGroup;
import android.widget.LinearLayout;
import android.widget.TextView;
import butterknife.BindView;
import butterknife.ButterKnife;
import com.scb.phone.R;
import o.EY;
/* loaded from: classes5.dex */
public class CustomSuccessInformation extends LinearLayout {
@BindView
TextView tvAccountNumber;
@BindView
TextView tvAccountTypeDesc;
@BindView
TextView tvBonus;
@BindView
TextView tvBranchDesc;
@BindView
TextView tvTitle;
public CustomSuccessInformation(Context context) {
super(context);
}
public CustomSuccessInformation(Context context, AttributeSet attributeSet) {
super(context, attributeSet);
((LayoutInflater) context.getSystemService("layout_inflater")).inflate(R.layout.2131559364, (ViewGroup) this, true);
ButterKnife.c(this);
}
public void setData(String str, String str2, String str3, String str4, String str5) {
this.tvTitle.setText(str);
this.tvAccountNumber.setText(str2);
this.tvBranchDesc.setText(str3);
this.tvAccountTypeDesc.setText(str4);
this.tvBonus.setText(str5);
}
public void setData(EY ey) {
this.tvTitle.setText(ey.b);
this.tvAccountNumber.setText(ey.d);
this.tvBranchDesc.setText(ey.e);
this.tvAccountTypeDesc.setText(ey.a);
this.tvBonus.setText(ey.c);
}
}