60 lines
1.6 KiB
Java
60 lines
1.6 KiB
Java
|
package com.scb.phone.view.custom.item;
|
||
|
|
||
|
import android.content.Context;
|
||
|
import android.util.AttributeSet;
|
||
|
import android.view.LayoutInflater;
|
||
|
import android.view.ViewGroup;
|
||
|
import android.widget.TextView;
|
||
|
import butterknife.BindView;
|
||
|
import butterknife.ButterKnife;
|
||
|
import com.scb.phone.R;
|
||
|
import com.scb.phone.components.ItemCustom;
|
||
|
import o.C3172asW;
|
||
|
import o.QO;
|
||
|
import o.nMh;
|
||
|
|
||
|
/* loaded from: classes5.dex */
|
||
|
public class ItemSimpleCustom extends ItemCustom<QO> {
|
||
|
|
||
|
@BindView
|
||
|
TextView componentExtra;
|
||
|
|
||
|
@BindView
|
||
|
TextView componentLabel;
|
||
|
|
||
|
public ItemSimpleCustom(Context context) {
|
||
|
super(context);
|
||
|
}
|
||
|
|
||
|
public ItemSimpleCustom(Context context, AttributeSet attributeSet) {
|
||
|
super(context, attributeSet);
|
||
|
}
|
||
|
|
||
|
public ItemSimpleCustom(Context context, AttributeSet attributeSet, int i) {
|
||
|
super(context, attributeSet, i);
|
||
|
}
|
||
|
|
||
|
@Override // com.scb.phone.components.ItemCustom
|
||
|
public void a(Context context) {
|
||
|
LayoutInflater.from(context).inflate(R.layout.2131558974, (ViewGroup) this, true);
|
||
|
ButterKnife.c(this);
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: Can't rename method to resolve collision */
|
||
|
@Override // com.scb.phone.components.ItemCustom
|
||
|
public void setUpWithDisplay(QO qo) {
|
||
|
if (qo.n) {
|
||
|
this.componentExtra.setTextColor(nMh.getColor(getContext(), R.color.f3092131099816));
|
||
|
}
|
||
|
if (qo.i > 0) {
|
||
|
this.componentLabel.setTextColor(qo.i);
|
||
|
}
|
||
|
this.componentLabel.setText(qo.h);
|
||
|
if (qo.k) {
|
||
|
this.componentExtra.setText(C3172asW.qI_(qo.f, 0));
|
||
|
} else {
|
||
|
this.componentExtra.setText(qo.f);
|
||
|
}
|
||
|
}
|
||
|
}
|