what-the-bank/sources/o/C10156dxU.java

46 lines
1.9 KiB
Java

package o;
import android.content.Context;
import android.graphics.Typeface;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import androidx.recyclerview.widget.RecyclerView;
import io.github.inflationx.calligraphy3.CalligraphyTypefaceSpan;
/* renamed from: o.dxU, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public final class C10156dxU extends AbstractC10145dxI<C3036apt, C10218dyd> implements InterfaceC12929fLg {
private final String a;
@Override // o.AbstractC10145dxI
public final /* synthetic */ void d(C10218dyd c10218dyd, C3036apt c3036apt) {
C10218dyd c10218dyd2 = c10218dyd;
C3036apt c3036apt2 = c3036apt;
C14957gcv.e(c10218dyd2, "");
C14957gcv.e(c3036apt2, "");
Context context = c10218dyd2.itemView.getContext();
TextView textView = c10218dyd2.c;
if (textView != null) {
textView.setText(aAu_(c3036apt2.d, c3036apt2.c, nMh.getColor(c10218dyd2.itemView.getContext(), com.scb.phone.R.color.f13682131100876), new CalligraphyTypefaceSpan(Typeface.createFromAsset(context.getAssets(), this.a))));
}
}
@Override // androidx.recyclerview.widget.RecyclerView.Sts
public final /* synthetic */ RecyclerView.zJl onCreateViewHolder(ViewGroup viewGroup, int i) {
C14957gcv.e(viewGroup, "");
C14957gcv.e(viewGroup, "");
View inflate = LayoutInflater.from(viewGroup.getContext()).inflate(com.scb.phone.R.layout.2131560043, viewGroup, false);
C14957gcv.c(inflate, "");
return new C10218dyd(inflate);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public C10156dxU(InterfaceC14894gbR<? super C3036apt, C14866gag> interfaceC14894gbR) {
super(interfaceC14894gbR);
C14957gcv.e(interfaceC14894gbR, "");
this.a = "fonts/db_heavent_medium.ttf";
}
}