what-the-bank/sources/com/scb/phone/view/custom/profilemanagement/AddAccountErrorCustomView.java

48 lines
1.7 KiB
Java

package com.scb.phone.view.custom.profilemanagement;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.RelativeLayout;
import android.widget.TextView;
import com.scb.phone.R;
import o.C14957gcv;
import o.C16323nUf;
import o.UT;
import o.UV;
import o.qeC;
/* loaded from: classes5.dex */
public final class AddAccountErrorCustomView extends AddAccountCustomView {
private final C16323nUf b;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public AddAccountErrorCustomView(Context context) {
super(context);
C14957gcv.e(context, "");
AddAccountErrorCustomView addAccountErrorCustomView = this;
View inflate = LayoutInflater.from(context).inflate(R.layout.2131558905, (ViewGroup) addAccountErrorCustomView, false);
addAccountErrorCustomView.addView(inflate);
int i = R.id.error_text;
TextView textView = (TextView) qeC.e(inflate, R.id.error_text);
if (textView != null) {
i = R.id.separator_view;
View e = qeC.e(inflate, R.id.separator_view);
if (e != null) {
C16323nUf c16323nUf = new C16323nUf((RelativeLayout) inflate, textView, e);
C14957gcv.c(c16323nUf, "");
this.b = c16323nUf;
return;
}
}
throw new NullPointerException("Missing required view with ID: ".concat(inflate.getResources().getResourceName(i)));
}
@Override // com.scb.phone.view.custom.profilemanagement.AddAccountCustomView
public final void setDisplay(UV uv) {
C14957gcv.e(uv, "");
this.b.d.setText(((UT) uv).b);
}
}