68 lines
2.5 KiB
Java
68 lines
2.5 KiB
Java
|
package com.scb.phone.view.custom.mailingaddress;
|
||
|
|
||
|
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 o.C14957gcv;
|
||
|
import o.UV;
|
||
|
import o.UX;
|
||
|
|
||
|
/* loaded from: classes5.dex */
|
||
|
public final class MailingAddressAccountHeaderCustomItem extends MailingAddressSelectAccountItem {
|
||
|
|
||
|
@BindView
|
||
|
public TextView header;
|
||
|
|
||
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||
|
public MailingAddressAccountHeaderCustomItem(Context context) {
|
||
|
super(context);
|
||
|
C14957gcv.e(context, "");
|
||
|
Object systemService = getContext().getSystemService("layout_inflater");
|
||
|
C14957gcv.d(systemService, "");
|
||
|
((LayoutInflater) systemService).inflate(R.layout.2131559271, (ViewGroup) this, true);
|
||
|
ButterKnife.c(this);
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||
|
public MailingAddressAccountHeaderCustomItem(Context context, AttributeSet attributeSet) {
|
||
|
super(context, attributeSet);
|
||
|
C14957gcv.e(context, "");
|
||
|
Object systemService = getContext().getSystemService("layout_inflater");
|
||
|
C14957gcv.d(systemService, "");
|
||
|
((LayoutInflater) systemService).inflate(R.layout.2131559271, (ViewGroup) this, true);
|
||
|
ButterKnife.c(this);
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||
|
public MailingAddressAccountHeaderCustomItem(Context context, AttributeSet attributeSet, int i) {
|
||
|
super(context, attributeSet, i);
|
||
|
C14957gcv.e(context, "");
|
||
|
Object systemService = getContext().getSystemService("layout_inflater");
|
||
|
C14957gcv.d(systemService, "");
|
||
|
((LayoutInflater) systemService).inflate(R.layout.2131559271, (ViewGroup) this, true);
|
||
|
ButterKnife.c(this);
|
||
|
}
|
||
|
|
||
|
@Override // com.scb.phone.view.custom.mailingaddress.MailingAddressSelectAccountItem
|
||
|
public final void setDisplay(UV uv) {
|
||
|
C14957gcv.e(uv, "");
|
||
|
UX ux = (UX) uv;
|
||
|
TextView textView = this.header;
|
||
|
if (textView == null) {
|
||
|
C14957gcv.a("");
|
||
|
textView = null;
|
||
|
}
|
||
|
textView.setText(ux.e);
|
||
|
}
|
||
|
|
||
|
public final void setHeader(TextView textView) {
|
||
|
C14957gcv.e(textView, "");
|
||
|
this.header = textView;
|
||
|
}
|
||
|
}
|