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

64 lines
2.6 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.CheckBox;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.TextView;
import com.scb.phone.R;
import o.C14957gcv;
import o.DcT;
import o.UV;
import o.UW;
import o.qeC;
/* loaded from: classes5.dex */
public final class AddAccountSelectorCustomView extends AddAccountCustomView {
private final DcT e;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public AddAccountSelectorCustomView(Context context) {
super(context);
C14957gcv.e(context, "");
AddAccountSelectorCustomView addAccountSelectorCustomView = this;
View inflate = LayoutInflater.from(context).inflate(R.layout.2131558910, (ViewGroup) addAccountSelectorCustomView, false);
addAccountSelectorCustomView.addView(inflate);
int i = R.id.selector;
LinearLayout linearLayout = (LinearLayout) qeC.e(inflate, R.id.selector);
if (linearLayout != null) {
i = R.id.selector_check_box;
CheckBox checkBox = (CheckBox) qeC.e(inflate, R.id.selector_check_box);
if (checkBox != null) {
i = R.id.selector_subtitle_text;
TextView textView = (TextView) qeC.e(inflate, R.id.selector_subtitle_text);
if (textView != null) {
i = R.id.selector_title;
LinearLayout linearLayout2 = (LinearLayout) qeC.e(inflate, R.id.selector_title);
if (linearLayout2 != null) {
i = R.id.selector_title_text;
TextView textView2 = (TextView) qeC.e(inflate, R.id.selector_title_text);
if (textView2 != null) {
DcT dcT = new DcT((RelativeLayout) inflate, linearLayout, checkBox, textView, linearLayout2, textView2);
C14957gcv.c(dcT, "");
this.e = dcT;
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, "");
DcT dcT = this.e;
dcT.d.setText(((UW) uv).d);
dcT.a.setVisibility(8);
}
}