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

43 lines
1.5 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
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.C1078Vc;
import o.C14957gcv;
import o.UV;
import o.pYH;
import o.qeC;
/* loaded from: classes5.dex */
public final class AddAccountSubHeaderCustomView extends AddAccountCustomView {
private final pYH e;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public AddAccountSubHeaderCustomView(Context context) {
super(context);
C14957gcv.e(context, "");
AddAccountSubHeaderCustomView addAccountSubHeaderCustomView = this;
View inflate = LayoutInflater.from(context).inflate(R.layout.2131558912, (ViewGroup) addAccountSubHeaderCustomView, false);
addAccountSubHeaderCustomView.addView(inflate);
TextView textView = (TextView) qeC.e(inflate, R.id.header_text);
if (textView != null) {
pYH pyh = new pYH((RelativeLayout) inflate, textView);
C14957gcv.c(pyh, "");
this.e = pyh;
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.e.b.setText(((C1078Vc) uv).b);
}
}