what-the-bank/sources/com/scb/phone/view/custom/common/CustomBulletTextView.java

43 lines
1.4 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.custom.common;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.scb.phone.R;
import o.AvX;
import o.C14957gcv;
import o.qeC;
/* loaded from: classes5.dex */
public final class CustomBulletTextView extends LinearLayout {
private AvX a;
public CustomBulletTextView(Context context) {
super(context);
CustomBulletTextView customBulletTextView = this;
View inflate = LayoutInflater.from(context).inflate(R.layout.2131558926, (ViewGroup) customBulletTextView, false);
customBulletTextView.addView(inflate);
int i = R.id.tv_bullet;
TextView textView = (TextView) qeC.e(inflate, R.id.tv_bullet);
if (textView != null) {
i = R.id.tv_dot;
TextView textView2 = (TextView) qeC.e(inflate, R.id.tv_dot);
if (textView2 != null) {
AvX avX = new AvX((LinearLayout) inflate, textView, textView2);
C14957gcv.c(avX, "");
this.a = avX;
return;
}
}
throw new NullPointerException("Missing required view with ID: ".concat(inflate.getResources().getResourceName(i)));
}
public final void setText(String str) {
C14957gcv.e(str, "");
this.a.c.setText(str);
}
}