65 lines
2.0 KiB
Java
65 lines
2.0 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.C14957gcv;
|
|
import o.QV;
|
|
|
|
/* loaded from: classes5.dex */
|
|
public class ItemTitleCustom extends ItemCustom<QV> {
|
|
|
|
@BindView
|
|
public TextView title;
|
|
|
|
private /* synthetic */ ItemTitleCustom(Context context, AttributeSet attributeSet, int i, byte b) {
|
|
this(context, (i & 2) != 0 ? null : attributeSet, 0);
|
|
}
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
public ItemTitleCustom(Context context, AttributeSet attributeSet, int i) {
|
|
super(context, attributeSet, i);
|
|
C14957gcv.e(context, "");
|
|
}
|
|
|
|
@Override // com.scb.phone.components.ItemCustom
|
|
public void setUpWithDisplay(QV qv) {
|
|
C14957gcv.e(qv, "");
|
|
TextView textView = this.title;
|
|
if (textView == null) {
|
|
C14957gcv.a("");
|
|
textView = null;
|
|
}
|
|
textView.setText(qv.e);
|
|
}
|
|
|
|
@Override // com.scb.phone.components.ItemCustom
|
|
public void a(Context context) {
|
|
LayoutInflater.from(context).inflate(R.layout.2131558979, (ViewGroup) this, true);
|
|
ButterKnife.c(this);
|
|
}
|
|
|
|
public final void setTitle(TextView textView) {
|
|
C14957gcv.e(textView, "");
|
|
this.title = textView;
|
|
}
|
|
|
|
/* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */
|
|
public ItemTitleCustom(Context context, AttributeSet attributeSet) {
|
|
this(context, attributeSet, 4, (byte) 0);
|
|
C14957gcv.e(context, "");
|
|
}
|
|
|
|
/* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */
|
|
public ItemTitleCustom(Context context) {
|
|
this(context, null, 6, (byte) 0);
|
|
C14957gcv.e(context, "");
|
|
}
|
|
}
|