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

44 lines
1.6 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.KmU;
import o.UV;
import o.UX;
import o.qeC;
/* loaded from: classes5.dex */
public final class AddAccountHeaderCustomView extends AddAccountCustomView {
private final KmU c;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public AddAccountHeaderCustomView(Context context) {
super(context);
C14957gcv.e(context, "");
AddAccountHeaderCustomView addAccountHeaderCustomView = this;
View inflate = LayoutInflater.from(context).inflate(R.layout.2131558907, (ViewGroup) addAccountHeaderCustomView, false);
addAccountHeaderCustomView.addView(inflate);
TextView textView = (TextView) qeC.e(inflate, R.id.header_text);
if (textView != null) {
RelativeLayout relativeLayout = (RelativeLayout) inflate;
KmU kmU = new KmU(relativeLayout, textView, relativeLayout);
C14957gcv.c(kmU, "");
this.c = kmU;
return;
}
throw new NullPointerException("Missing required view with ID: ".concat(inflate.getResources().getResourceName(R.id.header_text)));
}
@Override // com.scb.phone.view.custom.profilemanagement.AddAccountCustomView
public final void setDisplay(UV uv) {
C14957gcv.e(uv, "");
this.c.b.setText(((UX) uv).e);
}
}