what-the-bank/sources/com/scb/phone/view/custom/transferandpay/CustomScheduleFundItem.java

67 lines
1.7 KiB
Java

package com.scb.phone.view.custom.transferandpay;
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;
/* loaded from: classes5.dex */
public class CustomScheduleFundItem extends LinearLayout {
@BindView
TextView effectiveDescription;
@BindView
TextView effectiveLabel;
@BindView
LinearLayout effectiveLayout;
@BindView
TextView effectiveText;
@BindView
TextView transactionLabel;
@BindView
TextView transactionText;
@BindView
public LinearLayout transferLayout;
public CustomScheduleFundItem(Context context, AttributeSet attributeSet) {
super(context, attributeSet);
((LayoutInflater) context.getSystemService("layout_inflater")).inflate(R.layout.2131559327, (ViewGroup) this, true);
ButterKnife.c(this);
}
public void setEffectiveDateLabel(String str) {
this.effectiveLabel.setText(str);
}
public void setEffectiveDate(String str, boolean z) {
this.effectiveText.setText(str);
if (z) {
this.effectiveText.setTextAppearance(getContext(), R.style.f55842132017842);
}
}
public void setTransactionDateLabel(String str) {
this.transactionLabel.setText(str);
}
public void setTransactionDate(String str) {
this.transactionText.setText(str);
}
public void setEffectiveDescription(String str) {
this.effectiveDescription.setVisibility(0);
this.effectiveDescription.setText(str);
}
}