what-the-bank/sources/com/scb/phone/view/custom/additionaldocument/DocumentUploadedCustomView....

63 lines
2.0 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.custom.additionaldocument;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.constraintlayout.widget.ConstraintLayout;
import butterknife.BindView;
import butterknife.ButterKnife;
import com.scb.phone.R;
import o.C0400Ft;
import o.C14957gcv;
import o.InterfaceC14894gbR;
/* loaded from: classes5.dex */
public final class DocumentUploadedCustomView extends ConstraintLayout {
private final String b;
@BindView
public ImageView deleteIcon;
private final C0400Ft.HBt e;
@BindView
public TextView name;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public DocumentUploadedCustomView(Context context, C0400Ft.HBt hBt, String str) {
super(context);
C14957gcv.e(context, "");
C14957gcv.e(hBt, "");
C14957gcv.e(str, "");
this.e = hBt;
this.b = str;
Object systemService = context.getSystemService("layout_inflater");
C14957gcv.d(systemService, "");
((LayoutInflater) systemService).inflate(R.layout.2131558997, (ViewGroup) this, true);
ButterKnife.c(this);
TextView textView = this.name;
if (textView == null) {
C14957gcv.a("");
textView = null;
}
textView.setText(str);
}
public static /* synthetic */ void e(InterfaceC14894gbR interfaceC14894gbR, DocumentUploadedCustomView documentUploadedCustomView) {
C14957gcv.e(interfaceC14894gbR, "");
C14957gcv.e(documentUploadedCustomView, "");
interfaceC14894gbR.invoke(documentUploadedCustomView.e);
}
public final void setName(TextView textView) {
C14957gcv.e(textView, "");
this.name = textView;
}
public final void setDeleteIcon(ImageView imageView) {
C14957gcv.e(imageView, "");
this.deleteIcon = imageView;
}
}