93 lines
3.3 KiB
Java
93 lines
3.3 KiB
Java
|
package com.scb.phone.view.custom.mailingaddress;
|
||
|
|
||
|
import android.content.Context;
|
||
|
import android.util.AttributeSet;
|
||
|
import android.view.LayoutInflater;
|
||
|
import android.view.View;
|
||
|
import android.view.ViewGroup;
|
||
|
import android.widget.ImageView;
|
||
|
import butterknife.BindView;
|
||
|
import butterknife.ButterKnife;
|
||
|
import com.scb.phone.R;
|
||
|
import com.scb.phone.view.custom.mailingaddress.MailingAddressErrorCustomItem;
|
||
|
import o.C12344ewT;
|
||
|
import o.C14957gcv;
|
||
|
import o.UV;
|
||
|
|
||
|
/* loaded from: classes5.dex */
|
||
|
public final class MailingAddressErrorCustomItem extends MailingAddressSelectAccountItem {
|
||
|
private C12344ewT.LWm d;
|
||
|
|
||
|
@BindView
|
||
|
public ImageView reloadButton;
|
||
|
|
||
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||
|
public MailingAddressErrorCustomItem(Context context) {
|
||
|
super(context);
|
||
|
C14957gcv.e(context, "");
|
||
|
Object systemService = getContext().getSystemService("layout_inflater");
|
||
|
C14957gcv.d(systemService, "");
|
||
|
((LayoutInflater) systemService).inflate(R.layout.2131559268, (ViewGroup) this, true);
|
||
|
ButterKnife.c(this);
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||
|
public MailingAddressErrorCustomItem(Context context, AttributeSet attributeSet) {
|
||
|
super(context, attributeSet);
|
||
|
C14957gcv.e(context, "");
|
||
|
Object systemService = getContext().getSystemService("layout_inflater");
|
||
|
C14957gcv.d(systemService, "");
|
||
|
((LayoutInflater) systemService).inflate(R.layout.2131559268, (ViewGroup) this, true);
|
||
|
ButterKnife.c(this);
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||
|
public MailingAddressErrorCustomItem(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.2131559268, (ViewGroup) this, true);
|
||
|
ButterKnife.c(this);
|
||
|
}
|
||
|
|
||
|
@Override // com.scb.phone.view.custom.mailingaddress.MailingAddressSelectAccountItem
|
||
|
public final void setDisplay(UV uv) {
|
||
|
C14957gcv.e(uv, "");
|
||
|
ImageView imageView = this.reloadButton;
|
||
|
if (imageView == null) {
|
||
|
C14957gcv.a("");
|
||
|
imageView = null;
|
||
|
}
|
||
|
imageView.setOnClickListener(new View.OnClickListener(this) { // from class: o.eDB
|
||
|
private MailingAddressErrorCustomItem b;
|
||
|
|
||
|
@Override // android.view.View.OnClickListener
|
||
|
public final void onClick(View view) {
|
||
|
MailingAddressErrorCustomItem.d(this.b);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.b = this;
|
||
|
}
|
||
|
});
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void d(MailingAddressErrorCustomItem mailingAddressErrorCustomItem) {
|
||
|
C14957gcv.e(mailingAddressErrorCustomItem, "");
|
||
|
C12344ewT.LWm lWm = mailingAddressErrorCustomItem.d;
|
||
|
if (lWm != null) {
|
||
|
lWm.d();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public final void setReloadButton(ImageView imageView) {
|
||
|
C14957gcv.e(imageView, "");
|
||
|
this.reloadButton = imageView;
|
||
|
}
|
||
|
|
||
|
public final void setListener(C12344ewT.LWm lWm) {
|
||
|
this.d = lWm;
|
||
|
}
|
||
|
}
|