what-the-bank/sources/com/scb/phone/view/adapter/easycash/viewholder/BusinessAndMaritalInfoInput...

102 lines
3.4 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.adapter.easycash.viewholder;
import android.text.Editable;
import android.text.TextWatcher;
import android.view.View;
import androidx.recyclerview.widget.RecyclerView;
import butterknife.BindView;
import butterknife.ButterKnife;
import com.scb.phone.view.custom.common.CommonInputViewGroup;
import o.C0625Kz;
import o.C12209etr;
import o.C14957gcv;
/* loaded from: classes5.dex */
public final class BusinessAndMaritalInfoInputViewHolder extends RecyclerView.zJl {
public C12209etr.LWm a;
public C0625Kz d;
public final IeS e;
@BindView
public CommonInputViewGroup ivgInputField;
@BindView
public View paddingBottom;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public BusinessAndMaritalInfoInputViewHolder(View view) {
super(view);
C14957gcv.e(view, "");
C14957gcv.e(view, "");
ButterKnife.c(this, view);
this.e = new IeS(this);
}
/* loaded from: classes5.dex */
public static final class IeS implements TextWatcher {
private BusinessAndMaritalInfoInputViewHolder b;
@Override // android.text.TextWatcher
public final void beforeTextChanged(CharSequence charSequence, int i, int i2, int i3) {
}
@Override // android.text.TextWatcher
public final void onTextChanged(CharSequence charSequence, int i, int i2, int i3) {
}
IeS(BusinessAndMaritalInfoInputViewHolder businessAndMaritalInfoInputViewHolder) {
this.b = businessAndMaritalInfoInputViewHolder;
}
@Override // android.text.TextWatcher
public final void afterTextChanged(Editable editable) {
BusinessAndMaritalInfoInputViewHolder.d(this.b, String.valueOf(editable));
}
}
public static final /* synthetic */ void d(BusinessAndMaritalInfoInputViewHolder businessAndMaritalInfoInputViewHolder, String str) {
C0625Kz c0625Kz = businessAndMaritalInfoInputViewHolder.d;
C12209etr.LWm lWm = null;
if (c0625Kz == null) {
C14957gcv.a("");
c0625Kz = null;
}
C14957gcv.e(str, "");
c0625Kz.h = str;
c0625Kz.d = false;
C12209etr.LWm lWm2 = businessAndMaritalInfoInputViewHolder.a;
if (lWm2 == null) {
C14957gcv.a("");
lWm2 = null;
}
C0625Kz c0625Kz2 = businessAndMaritalInfoInputViewHolder.d;
if (c0625Kz2 == null) {
C14957gcv.a("");
c0625Kz2 = null;
}
if (lWm2.b(c0625Kz2)) {
CommonInputViewGroup commonInputViewGroup = businessAndMaritalInfoInputViewHolder.ivgInputField;
if (commonInputViewGroup == null) {
C14957gcv.a("");
commonInputViewGroup = null;
}
commonInputViewGroup.e();
} else {
CommonInputViewGroup commonInputViewGroup2 = businessAndMaritalInfoInputViewHolder.ivgInputField;
if (commonInputViewGroup2 == null) {
C14957gcv.a("");
commonInputViewGroup2 = null;
}
commonInputViewGroup2.c();
}
C12209etr.LWm lWm3 = businessAndMaritalInfoInputViewHolder.a;
if (lWm3 != null) {
lWm = lWm3;
} else {
C14957gcv.a("");
}
businessAndMaritalInfoInputViewHolder.getAdapterPosition();
lWm.a();
}
}