1061 lines
43 KiB
Java
1061 lines
43 KiB
Java
|
package com.scb.phone.view.fragment.cardmanagement;
|
||
|
|
||
|
import android.content.Context;
|
||
|
import android.content.Intent;
|
||
|
import android.graphics.drawable.Drawable;
|
||
|
import android.os.Build;
|
||
|
import android.os.Bundle;
|
||
|
import android.os.Parcelable;
|
||
|
import android.view.LayoutInflater;
|
||
|
import android.view.MotionEvent;
|
||
|
import android.view.View;
|
||
|
import android.view.ViewGroup;
|
||
|
import android.widget.AdapterView;
|
||
|
import android.widget.Button;
|
||
|
import android.widget.ImageView;
|
||
|
import android.widget.RelativeLayout;
|
||
|
import android.widget.ScrollView;
|
||
|
import android.widget.Spinner;
|
||
|
import android.widget.SpinnerAdapter;
|
||
|
import android.widget.TextView;
|
||
|
import androidx.constraintlayout.widget.ConstraintLayout;
|
||
|
import androidx.constraintlayout.widget.Group;
|
||
|
import androidx.fragment.app.FragmentActivity;
|
||
|
import com.scb.phone.R;
|
||
|
import com.scb.phone.view.activity.cardmanagement.TempLimitReviewActivity;
|
||
|
import com.scb.phone.view.activity.scheduledtransaction.CalendarDialogActivity;
|
||
|
import com.scb.phone.view.fragment.cardmanagement.TempLimitPreApprovedBottomFragment;
|
||
|
import java.util.Calendar;
|
||
|
import java.util.List;
|
||
|
import o.AbstractC14961gcz;
|
||
|
import o.AbstractC15502gsH;
|
||
|
import o.C0367Fb;
|
||
|
import o.C0435Gm;
|
||
|
import o.C0455Gy;
|
||
|
import o.C11560ehe;
|
||
|
import o.C11880eng;
|
||
|
import o.C12060erA;
|
||
|
import o.C14957gcv;
|
||
|
import o.C15517gsm;
|
||
|
import o.C16389ns;
|
||
|
import o.C2996apE;
|
||
|
import o.C3039apw;
|
||
|
import o.GA;
|
||
|
import o.GF;
|
||
|
import o.GG;
|
||
|
import o.GlE;
|
||
|
import o.Heg;
|
||
|
import o.InterfaceC0834Plv;
|
||
|
import o.InterfaceC13391fZD;
|
||
|
import o.InterfaceC13393fZL;
|
||
|
import o.InterfaceC14890gbN;
|
||
|
import o.InterfaceC9071dcm;
|
||
|
import o.ZI;
|
||
|
import o.cXG;
|
||
|
import o.fZZ;
|
||
|
import o.hcD;
|
||
|
import o.huo;
|
||
|
import o.nMh;
|
||
|
import o.qeC;
|
||
|
import o.uCa;
|
||
|
import org.threeten.bp.OffsetDateTime;
|
||
|
|
||
|
/* loaded from: classes5.dex */
|
||
|
public final class TempLimitPreApprovedBottomFragment extends Hilt_TempLimitPreApprovedBottomFragment implements InterfaceC9071dcm.LWm {
|
||
|
private final AdapterView.OnItemSelectedListener c;
|
||
|
private String d;
|
||
|
private Spinner f;
|
||
|
private final InterfaceC13393fZL g;
|
||
|
private Drawable h;
|
||
|
private Drawable i;
|
||
|
private huo<Intent> j;
|
||
|
private huo<Intent> k;
|
||
|
private final AdapterView.OnItemSelectedListener l;
|
||
|
private Spinner m;
|
||
|
private Spinner n;
|
||
|
|
||
|
/* renamed from: o, reason: collision with root package name */
|
||
|
private final AdapterView.OnItemSelectedListener f8025o;
|
||
|
private int p;
|
||
|
|
||
|
@InterfaceC13391fZD
|
||
|
public C3039apw presenter;
|
||
|
private OffsetDateTime q;
|
||
|
private int r;
|
||
|
private String s;
|
||
|
private String t;
|
||
|
|
||
|
public TempLimitPreApprovedBottomFragment() {
|
||
|
Sts sts = new Sts(this);
|
||
|
C14957gcv.e(sts, "");
|
||
|
this.g = new fZZ(sts);
|
||
|
this.c = new IeS(this);
|
||
|
this.l = new HBt(this);
|
||
|
this.f8025o = new RVV(this);
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes5.dex */
|
||
|
static final class Sts extends AbstractC14961gcz implements InterfaceC14890gbN<hcD> {
|
||
|
private TempLimitPreApprovedBottomFragment d;
|
||
|
|
||
|
@Override // o.InterfaceC14890gbN
|
||
|
public final /* synthetic */ hcD invoke() {
|
||
|
View inflate = this.d.getLayoutInflater().inflate(R.layout.2131560154, (ViewGroup) null, false);
|
||
|
int i = R.id.btn_review;
|
||
|
Button button = (Button) qeC.e(inflate, R.id.btn_review);
|
||
|
if (button != null) {
|
||
|
i = R.id.cs_layout_button_review;
|
||
|
ConstraintLayout constraintLayout = (ConstraintLayout) qeC.e(inflate, R.id.cs_layout_button_review);
|
||
|
if (constraintLayout != null) {
|
||
|
i = R.id.divider_additional_amount;
|
||
|
View e = qeC.e(inflate, R.id.divider_additional_amount);
|
||
|
if (e != null) {
|
||
|
i = R.id.divider_end_date;
|
||
|
View e2 = qeC.e(inflate, R.id.divider_end_date);
|
||
|
if (e2 != null) {
|
||
|
i = R.id.divider_reason;
|
||
|
View e3 = qeC.e(inflate, R.id.divider_reason);
|
||
|
if (e3 != null) {
|
||
|
i = R.id.group_end_date;
|
||
|
Group group = (Group) qeC.e(inflate, R.id.group_end_date);
|
||
|
if (group != null) {
|
||
|
i = R.id.iv_end_date;
|
||
|
ImageView imageView = (ImageView) qeC.e(inflate, R.id.iv_end_date);
|
||
|
if (imageView != null) {
|
||
|
i = R.id.layout_additional_amount;
|
||
|
View e4 = qeC.e(inflate, R.id.layout_additional_amount);
|
||
|
if (e4 != null) {
|
||
|
int i2 = R.id.layout_spinner_additional_amount;
|
||
|
View e5 = qeC.e(e4, R.id.layout_spinner_additional_amount);
|
||
|
if (e5 != null) {
|
||
|
GlE c = GlE.c(e5);
|
||
|
int i3 = R.id.txv_additional_credit_amount;
|
||
|
TextView textView = (TextView) qeC.e(e4, R.id.txv_additional_credit_amount);
|
||
|
if (textView != null) {
|
||
|
i3 = R.id.txv_increase_limit;
|
||
|
TextView textView2 = (TextView) qeC.e(e4, R.id.txv_increase_limit);
|
||
|
if (textView2 != null) {
|
||
|
C11880eng c11880eng = new C11880eng((ConstraintLayout) e4, c, textView, textView2);
|
||
|
i = R.id.layout_cdx_spinner_end_date;
|
||
|
View e6 = qeC.e(inflate, R.id.layout_cdx_spinner_end_date);
|
||
|
if (e6 != null) {
|
||
|
GlE c2 = GlE.c(e6);
|
||
|
i = R.id.layout_cdx_spinner_end_date_prefill;
|
||
|
View e7 = qeC.e(inflate, R.id.layout_cdx_spinner_end_date_prefill);
|
||
|
if (e7 != null) {
|
||
|
uCa d = uCa.d(e7);
|
||
|
int i4 = R.id.layout_spinner_end_date;
|
||
|
TextView textView3 = (TextView) qeC.e(inflate, R.id.layout_spinner_end_date);
|
||
|
if (textView3 != null) {
|
||
|
i4 = R.id.layout_spinner_reason;
|
||
|
View e8 = qeC.e(inflate, R.id.layout_spinner_reason);
|
||
|
if (e8 != null) {
|
||
|
GlE c3 = GlE.c(e8);
|
||
|
i4 = R.id.layout_spinner_reason_prefill;
|
||
|
View e9 = qeC.e(inflate, R.id.layout_spinner_reason_prefill);
|
||
|
if (e9 != null) {
|
||
|
uCa d2 = uCa.d(e9);
|
||
|
i4 = R.id.tv_remark;
|
||
|
TextView textView4 = (TextView) qeC.e(inflate, R.id.tv_remark);
|
||
|
if (textView4 != null) {
|
||
|
i4 = R.id.txv_end_date;
|
||
|
TextView textView5 = (TextView) qeC.e(inflate, R.id.txv_end_date);
|
||
|
if (textView5 != null) {
|
||
|
i4 = R.id.txv_reason;
|
||
|
TextView textView6 = (TextView) qeC.e(inflate, R.id.txv_reason);
|
||
|
if (textView6 != null) {
|
||
|
return new hcD((ScrollView) inflate, button, constraintLayout, e, e2, e3, group, imageView, c11880eng, c2, d, textView3, c3, d2, textView4, textView5, textView6);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
i = i4;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
i2 = i3;
|
||
|
}
|
||
|
throw new NullPointerException("Missing required view with ID: ".concat(e4.getResources().getResourceName(i2)));
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
throw new NullPointerException("Missing required view with ID: ".concat(inflate.getResources().getResourceName(i)));
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||
|
Sts(TempLimitPreApprovedBottomFragment tempLimitPreApprovedBottomFragment) {
|
||
|
super(0);
|
||
|
this.d = tempLimitPreApprovedBottomFragment;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // androidx.fragment.app.Fragment
|
||
|
public final View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
|
||
|
C14957gcv.e(layoutInflater, "");
|
||
|
ScrollView scrollView = ((hcD) this.g.e()).g;
|
||
|
C14957gcv.c(scrollView, "");
|
||
|
return scrollView;
|
||
|
}
|
||
|
|
||
|
@Override // androidx.fragment.app.Fragment
|
||
|
public final void onViewCreated(View view, Bundle bundle) {
|
||
|
Parcelable parcelable;
|
||
|
Parcelable parcelable2;
|
||
|
C14957gcv.e(view, "");
|
||
|
super.onViewCreated(view, bundle);
|
||
|
C3039apw c3039apw = this.presenter;
|
||
|
if (c3039apw == null) {
|
||
|
C14957gcv.a("");
|
||
|
c3039apw = null;
|
||
|
}
|
||
|
c3039apw.e((C3039apw) this);
|
||
|
FragmentActivity activity = getActivity();
|
||
|
if (activity != null) {
|
||
|
FragmentActivity fragmentActivity = activity;
|
||
|
this.h = nMh.getDrawable(fragmentActivity, R.drawable.bg_spinner);
|
||
|
this.i = nMh.getDrawable(fragmentActivity, R.drawable.bg_button_transparent);
|
||
|
Intent intent = activity.getIntent();
|
||
|
final C3039apw c3039apw2 = this.presenter;
|
||
|
if (c3039apw2 == null) {
|
||
|
C14957gcv.a("");
|
||
|
c3039apw2 = null;
|
||
|
}
|
||
|
final boolean booleanExtra = intent.getBooleanExtra("com.scb.phone.view.activity.card_management.TempLimitHomeActivity.KEY_TEMP_LIMIT_IS_CDX_FLOW", false);
|
||
|
C14957gcv.c(intent, "");
|
||
|
if (Build.VERSION.SDK_INT >= 33) {
|
||
|
Bundle extras = intent.getExtras();
|
||
|
parcelable = extras != null ? (Parcelable) extras.getParcelable("com.scb.phone.view.activity.card_management.TempLimitHomeActivity.KEY_TEMP_LIMIT_CRITERIA", GG.class) : null;
|
||
|
} else {
|
||
|
Bundle extras2 = intent.getExtras();
|
||
|
Parcelable parcelable3 = extras2 != null ? extras2.getParcelable("com.scb.phone.view.activity.card_management.TempLimitHomeActivity.KEY_TEMP_LIMIT_CRITERIA") : null;
|
||
|
if (!(parcelable3 instanceof GG)) {
|
||
|
parcelable3 = null;
|
||
|
}
|
||
|
parcelable = (GG) parcelable3;
|
||
|
}
|
||
|
final GG gg = (GG) parcelable;
|
||
|
if (Build.VERSION.SDK_INT >= 33) {
|
||
|
Bundle extras3 = intent.getExtras();
|
||
|
parcelable2 = extras3 != null ? (Parcelable) extras3.getParcelable("com.scb.phone.view.activity.card_management.TempLimitHomeActivity.KEY_TEMP_LIMIT_CDX_CRITERIA", C0435Gm.class) : null;
|
||
|
} else {
|
||
|
Bundle extras4 = intent.getExtras();
|
||
|
Parcelable parcelable4 = extras4 != null ? extras4.getParcelable("com.scb.phone.view.activity.card_management.TempLimitHomeActivity.KEY_TEMP_LIMIT_CDX_CRITERIA") : null;
|
||
|
if (!(parcelable4 instanceof C0435Gm)) {
|
||
|
parcelable4 = null;
|
||
|
}
|
||
|
parcelable2 = (C0435Gm) parcelable4;
|
||
|
}
|
||
|
C0435Gm c0435Gm = (C0435Gm) parcelable2;
|
||
|
if (Build.VERSION.SDK_INT >= 33) {
|
||
|
Bundle extras5 = intent.getExtras();
|
||
|
if (extras5 != null) {
|
||
|
r11 = (Parcelable) extras5.getParcelable("com.scb.phone.view.activity.card_management.TempLimitHomeActivity.KEY_CREDIT_CARD_DISPLAY", C0367Fb.class);
|
||
|
}
|
||
|
} else {
|
||
|
Bundle extras6 = intent.getExtras();
|
||
|
Parcelable parcelable5 = extras6 != null ? extras6.getParcelable("com.scb.phone.view.activity.card_management.TempLimitHomeActivity.KEY_CREDIT_CARD_DISPLAY") : null;
|
||
|
r11 = (C0367Fb) (parcelable5 instanceof C0367Fb ? parcelable5 : null);
|
||
|
}
|
||
|
c3039apw2.a = booleanExtra;
|
||
|
c3039apw2.d = (C0367Fb) r11;
|
||
|
c3039apw2.e = c0435Gm;
|
||
|
c3039apw2.c = gg;
|
||
|
ZI.IeS ieS = new ZI.IeS(booleanExtra, c3039apw2, gg) { // from class: o.apH
|
||
|
private C3039apw a;
|
||
|
private GG b;
|
||
|
private boolean d;
|
||
|
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj) {
|
||
|
C3039apw.e(this.d, this.a, this.b, (InterfaceC9071dcm.LWm) obj);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.d = booleanExtra;
|
||
|
this.a = c3039apw2;
|
||
|
this.b = gg;
|
||
|
}
|
||
|
};
|
||
|
if (c3039apw2.f != 0) {
|
||
|
ieS.e(c3039apw2.f);
|
||
|
}
|
||
|
}
|
||
|
huo<Intent> registerForActivityResult = registerForActivityResult(new C11560ehe.Sts(), new InterfaceC0834Plv(this) { // from class: o.eJK
|
||
|
private TempLimitPreApprovedBottomFragment b;
|
||
|
|
||
|
@Override // o.InterfaceC0834Plv
|
||
|
public final void d(Object obj) {
|
||
|
TempLimitPreApprovedBottomFragment.e(this.b, (Heg) obj);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.b = this;
|
||
|
}
|
||
|
});
|
||
|
C14957gcv.c(registerForActivityResult, "");
|
||
|
this.k = registerForActivityResult;
|
||
|
huo<Intent> registerForActivityResult2 = registerForActivityResult(new C11560ehe.Sts(), new InterfaceC0834Plv(this) { // from class: o.eJL
|
||
|
private TempLimitPreApprovedBottomFragment a;
|
||
|
|
||
|
@Override // o.InterfaceC0834Plv
|
||
|
public final void d(Object obj) {
|
||
|
TempLimitPreApprovedBottomFragment.c(this.a, (Heg) obj);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.a = this;
|
||
|
}
|
||
|
});
|
||
|
C14957gcv.c(registerForActivityResult2, "");
|
||
|
this.j = registerForActivityResult2;
|
||
|
((hcD) this.g.e()).e.setEnabled(false);
|
||
|
((hcD) this.g.e()).e.setOnClickListener(new View.OnClickListener(this) { // from class: o.eJN
|
||
|
private TempLimitPreApprovedBottomFragment b;
|
||
|
|
||
|
@Override // android.view.View.OnClickListener
|
||
|
public final void onClick(View view2) {
|
||
|
TempLimitPreApprovedBottomFragment.c(this.b);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.b = this;
|
||
|
}
|
||
|
});
|
||
|
v("templimit_preapproved_landing");
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9071dcm.LWm
|
||
|
public final void e(String str) {
|
||
|
TextView textView = ((hcD) this.g.e()).m;
|
||
|
textView.setText(str);
|
||
|
C14957gcv.c(textView, "");
|
||
|
TextView textView2 = textView;
|
||
|
C14957gcv.e(textView2, "");
|
||
|
textView2.setVisibility(0);
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9071dcm.LWm
|
||
|
public final void j() {
|
||
|
TextView textView = ((hcD) this.g.e()).m;
|
||
|
C14957gcv.c(textView, "");
|
||
|
TextView textView2 = textView;
|
||
|
C14957gcv.e(textView2, "");
|
||
|
textView2.setVisibility(8);
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9071dcm.LWm
|
||
|
public final void b(List<String> list) {
|
||
|
C14957gcv.e(list, "");
|
||
|
this.f = ((hcD) this.g.e()).a.e.b;
|
||
|
FragmentActivity activity = getActivity();
|
||
|
if (activity != null) {
|
||
|
C12060erA c12060erA = new C12060erA(activity, R.layout.2131559353, list);
|
||
|
Spinner spinner = this.f;
|
||
|
if (spinner != null) {
|
||
|
spinner.setAdapter((SpinnerAdapter) c12060erA);
|
||
|
spinner.setOnItemSelectedListener(this.c);
|
||
|
spinner.setOnTouchListener(new View.OnTouchListener(this) { // from class: o.eJS
|
||
|
private TempLimitPreApprovedBottomFragment e;
|
||
|
|
||
|
@Override // android.view.View.OnTouchListener
|
||
|
public final boolean onTouch(View view, MotionEvent motionEvent) {
|
||
|
return TempLimitPreApprovedBottomFragment.aqU_(this.e, motionEvent);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.e = this;
|
||
|
}
|
||
|
});
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9071dcm.LWm
|
||
|
public final void a(boolean z) {
|
||
|
Spinner spinner = this.f;
|
||
|
if (spinner != null) {
|
||
|
spinner.setBackground(z ? this.i : this.h);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9071dcm.LWm
|
||
|
public final void e(boolean z) {
|
||
|
Spinner spinner = this.n;
|
||
|
if (spinner != null) {
|
||
|
spinner.setBackground(z ? this.i : this.h);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9071dcm.LWm
|
||
|
public final void d(boolean z) {
|
||
|
((hcD) this.g.e()).j.setBackground(z ? this.i : this.h);
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9071dcm.LWm
|
||
|
public final void c(boolean z) {
|
||
|
Spinner spinner = this.m;
|
||
|
if (spinner != null) {
|
||
|
spinner.setBackground(z ? this.i : this.h);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9071dcm.LWm
|
||
|
public final void c() {
|
||
|
hcD hcd = (hcD) this.g.e();
|
||
|
RelativeLayout relativeLayout = hcd.i.e;
|
||
|
C14957gcv.c(relativeLayout, "");
|
||
|
RelativeLayout relativeLayout2 = relativeLayout;
|
||
|
C14957gcv.e(relativeLayout2, "");
|
||
|
relativeLayout2.setVisibility(8);
|
||
|
ConstraintLayout constraintLayout = hcd.f.c;
|
||
|
C14957gcv.c(constraintLayout, "");
|
||
|
ConstraintLayout constraintLayout2 = constraintLayout;
|
||
|
C14957gcv.e(constraintLayout2, "");
|
||
|
constraintLayout2.setVisibility(8);
|
||
|
TextView textView = hcd.n;
|
||
|
C14957gcv.c(textView, "");
|
||
|
TextView textView2 = textView;
|
||
|
C14957gcv.e(textView2, "");
|
||
|
textView2.setVisibility(8);
|
||
|
View view = hcd.d;
|
||
|
C14957gcv.c(view, "");
|
||
|
C14957gcv.e(view, "");
|
||
|
view.setVisibility(8);
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes5.dex */
|
||
|
public static final class IeS implements AdapterView.OnItemSelectedListener {
|
||
|
private TempLimitPreApprovedBottomFragment d;
|
||
|
|
||
|
@Override // android.widget.AdapterView.OnItemSelectedListener
|
||
|
public final void onNothingSelected(AdapterView<?> adapterView) {
|
||
|
}
|
||
|
|
||
|
IeS(TempLimitPreApprovedBottomFragment tempLimitPreApprovedBottomFragment) {
|
||
|
this.d = tempLimitPreApprovedBottomFragment;
|
||
|
}
|
||
|
|
||
|
@Override // android.widget.AdapterView.OnItemSelectedListener
|
||
|
public final void onItemSelected(AdapterView<?> adapterView, View view, int i, long j) {
|
||
|
C14957gcv.e(adapterView, "");
|
||
|
C14957gcv.e(view, "");
|
||
|
C3039apw c3039apw = this.d.presenter;
|
||
|
if (c3039apw == null) {
|
||
|
C14957gcv.a("");
|
||
|
c3039apw = null;
|
||
|
}
|
||
|
C2996apE c2996apE = new C2996apE(c3039apw);
|
||
|
if (c3039apw.f != 0) {
|
||
|
c2996apE.e(c3039apw.f);
|
||
|
}
|
||
|
TempLimitPreApprovedBottomFragment.aqW_(this.d, adapterView, i);
|
||
|
if (i != 0) {
|
||
|
this.d.d = adapterView.getSelectedItem().toString();
|
||
|
TempLimitPreApprovedBottomFragment.a(this.d);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes5.dex */
|
||
|
public static final class HBt implements AdapterView.OnItemSelectedListener {
|
||
|
private TempLimitPreApprovedBottomFragment a;
|
||
|
|
||
|
@Override // android.widget.AdapterView.OnItemSelectedListener
|
||
|
public final void onNothingSelected(AdapterView<?> adapterView) {
|
||
|
}
|
||
|
|
||
|
HBt(TempLimitPreApprovedBottomFragment tempLimitPreApprovedBottomFragment) {
|
||
|
this.a = tempLimitPreApprovedBottomFragment;
|
||
|
}
|
||
|
|
||
|
@Override // android.widget.AdapterView.OnItemSelectedListener
|
||
|
public final void onItemSelected(AdapterView<?> adapterView, View view, int i, long j) {
|
||
|
C14957gcv.e(adapterView, "");
|
||
|
C14957gcv.e(view, "");
|
||
|
C3039apw c3039apw = this.a.presenter;
|
||
|
C3039apw c3039apw2 = null;
|
||
|
if (c3039apw == null) {
|
||
|
C14957gcv.a("");
|
||
|
c3039apw = null;
|
||
|
}
|
||
|
C2996apE c2996apE = new C2996apE(c3039apw);
|
||
|
if (c3039apw.f != 0) {
|
||
|
c2996apE.e(c3039apw.f);
|
||
|
}
|
||
|
TempLimitPreApprovedBottomFragment.aqW_(this.a, adapterView, i);
|
||
|
if (i != 0) {
|
||
|
TempLimitPreApprovedBottomFragment tempLimitPreApprovedBottomFragment = this.a;
|
||
|
C3039apw c3039apw3 = tempLimitPreApprovedBottomFragment.presenter;
|
||
|
if (c3039apw3 != null) {
|
||
|
c3039apw2 = c3039apw3;
|
||
|
} else {
|
||
|
C14957gcv.a("");
|
||
|
}
|
||
|
tempLimitPreApprovedBottomFragment.t = c3039apw2.b(i);
|
||
|
this.a.r = i;
|
||
|
TempLimitPreApprovedBottomFragment.a(this.a);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes5.dex */
|
||
|
public static final class RVV implements AdapterView.OnItemSelectedListener {
|
||
|
private TempLimitPreApprovedBottomFragment d;
|
||
|
|
||
|
@Override // android.widget.AdapterView.OnItemSelectedListener
|
||
|
public final void onNothingSelected(AdapterView<?> adapterView) {
|
||
|
}
|
||
|
|
||
|
RVV(TempLimitPreApprovedBottomFragment tempLimitPreApprovedBottomFragment) {
|
||
|
this.d = tempLimitPreApprovedBottomFragment;
|
||
|
}
|
||
|
|
||
|
@Override // android.widget.AdapterView.OnItemSelectedListener
|
||
|
public final void onItemSelected(AdapterView<?> adapterView, View view, int i, long j) {
|
||
|
C14957gcv.e(adapterView, "");
|
||
|
C14957gcv.e(view, "");
|
||
|
C3039apw c3039apw = this.d.presenter;
|
||
|
if (c3039apw == null) {
|
||
|
C14957gcv.a("");
|
||
|
c3039apw = null;
|
||
|
}
|
||
|
C2996apE c2996apE = new C2996apE(c3039apw);
|
||
|
if (c3039apw.f != 0) {
|
||
|
c2996apE.e(c3039apw.f);
|
||
|
}
|
||
|
TempLimitPreApprovedBottomFragment.aqW_(this.d, adapterView, i);
|
||
|
if (i != 0) {
|
||
|
this.d.s = adapterView.getSelectedItem().toString();
|
||
|
this.d.p = i;
|
||
|
TempLimitPreApprovedBottomFragment.a(this.d);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9071dcm.LWm
|
||
|
public final void e() {
|
||
|
Spinner spinner = this.f;
|
||
|
if (spinner != null) {
|
||
|
spinner.setSelection(0);
|
||
|
}
|
||
|
this.q = null;
|
||
|
Spinner spinner2 = this.m;
|
||
|
if (spinner2 != null) {
|
||
|
spinner2.setSelection(0);
|
||
|
}
|
||
|
((hcD) this.g.e()).j.setText("");
|
||
|
((hcD) this.g.e()).e.setEnabled(false);
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9071dcm.LWm
|
||
|
public final void b() {
|
||
|
this.d = null;
|
||
|
Spinner spinner = this.f;
|
||
|
if (spinner != null) {
|
||
|
spinner.setSelection(0);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9071dcm.LWm
|
||
|
public final void d() {
|
||
|
this.t = null;
|
||
|
this.r = 0;
|
||
|
Spinner spinner = this.n;
|
||
|
if (spinner != null) {
|
||
|
spinner.setSelection(0);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9071dcm.LWm
|
||
|
public final void a() {
|
||
|
this.s = null;
|
||
|
this.p = 0;
|
||
|
Spinner spinner = this.m;
|
||
|
if (spinner != null) {
|
||
|
spinner.setSelection(0);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9071dcm.LWm
|
||
|
public final void i() {
|
||
|
((hcD) this.g.e()).e.setEnabled(false);
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9071dcm.LWm
|
||
|
public final void d(GF gf) {
|
||
|
C14957gcv.e(gf, "");
|
||
|
huo<Intent> huoVar = this.k;
|
||
|
if (huoVar == null) {
|
||
|
C14957gcv.a("");
|
||
|
huoVar = null;
|
||
|
}
|
||
|
huoVar.d(TempLimitReviewActivity.Zu_(getContext(), gf), null);
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9071dcm.LWm
|
||
|
public final void c(C0455Gy c0455Gy) {
|
||
|
C14957gcv.e(c0455Gy, "");
|
||
|
huo<Intent> huoVar = this.k;
|
||
|
if (huoVar == null) {
|
||
|
C14957gcv.a("");
|
||
|
huoVar = null;
|
||
|
}
|
||
|
huoVar.d(TempLimitReviewActivity.Zt_(getContext(), c0455Gy), null);
|
||
|
}
|
||
|
|
||
|
@Override // com.scb.phone.view.fragment.BaseFragment, androidx.fragment.app.Fragment
|
||
|
public final void onDestroy() {
|
||
|
huo<Intent> huoVar = this.k;
|
||
|
huo<Intent> huoVar2 = null;
|
||
|
if (huoVar == null) {
|
||
|
C14957gcv.a("");
|
||
|
huoVar = null;
|
||
|
}
|
||
|
huoVar.e();
|
||
|
huo<Intent> huoVar3 = this.j;
|
||
|
if (huoVar3 == null) {
|
||
|
C14957gcv.a("");
|
||
|
} else {
|
||
|
huoVar2 = huoVar3;
|
||
|
}
|
||
|
huoVar2.e();
|
||
|
super.onDestroy();
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void c(TempLimitPreApprovedBottomFragment tempLimitPreApprovedBottomFragment, Heg heg) {
|
||
|
C14957gcv.e(tempLimitPreApprovedBottomFragment, "");
|
||
|
C3039apw c3039apw = null;
|
||
|
if (heg.e == -1) {
|
||
|
Intent intent = heg.b;
|
||
|
tempLimitPreApprovedBottomFragment.q = (OffsetDateTime) (intent != null ? intent.getSerializableExtra("com.scb.phone.EXTRA_DATE") : null);
|
||
|
TextView textView = ((hcD) tempLimitPreApprovedBottomFragment.g.e()).j;
|
||
|
String VL_ = cXG.VL_(tempLimitPreApprovedBottomFragment.getResources(), "dd MMM yyyy", tempLimitPreApprovedBottomFragment.q);
|
||
|
C14957gcv.c((Object) VL_, "");
|
||
|
textView.setText(VL_);
|
||
|
C3039apw c3039apw2 = tempLimitPreApprovedBottomFragment.presenter;
|
||
|
if (c3039apw2 == null) {
|
||
|
C14957gcv.a("");
|
||
|
c3039apw2 = null;
|
||
|
}
|
||
|
((hcD) tempLimitPreApprovedBottomFragment.g.e()).e.setEnabled(c3039apw2.a(tempLimitPreApprovedBottomFragment.d, tempLimitPreApprovedBottomFragment.q, tempLimitPreApprovedBottomFragment.s, tempLimitPreApprovedBottomFragment.t));
|
||
|
}
|
||
|
C3039apw c3039apw3 = tempLimitPreApprovedBottomFragment.presenter;
|
||
|
if (c3039apw3 != null) {
|
||
|
c3039apw = c3039apw3;
|
||
|
} else {
|
||
|
C14957gcv.a("");
|
||
|
}
|
||
|
C2996apE c2996apE = new C2996apE(c3039apw);
|
||
|
if (c3039apw.f != 0) {
|
||
|
c2996apE.e(c3039apw.f);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ boolean aqT_(TempLimitPreApprovedBottomFragment tempLimitPreApprovedBottomFragment, MotionEvent motionEvent) {
|
||
|
C14957gcv.e(tempLimitPreApprovedBottomFragment, "");
|
||
|
if (motionEvent.getAction() != 1) {
|
||
|
return false;
|
||
|
}
|
||
|
C3039apw c3039apw = tempLimitPreApprovedBottomFragment.presenter;
|
||
|
if (c3039apw == null) {
|
||
|
C14957gcv.a("");
|
||
|
c3039apw = null;
|
||
|
}
|
||
|
InterfaceC9071dcm.HBt.e(c3039apw, null, null, Boolean.TRUE, null, 11);
|
||
|
return false;
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void e(TempLimitPreApprovedBottomFragment tempLimitPreApprovedBottomFragment, Heg heg) {
|
||
|
FragmentActivity activity;
|
||
|
C14957gcv.e(tempLimitPreApprovedBottomFragment, "");
|
||
|
int i = heg.e;
|
||
|
if (i != 3) {
|
||
|
if (i != 104 || (activity = tempLimitPreApprovedBottomFragment.getActivity()) == null) {
|
||
|
return;
|
||
|
}
|
||
|
activity.setResult(104);
|
||
|
activity.finish();
|
||
|
return;
|
||
|
}
|
||
|
final C3039apw c3039apw = tempLimitPreApprovedBottomFragment.presenter;
|
||
|
if (c3039apw == null) {
|
||
|
C14957gcv.a("");
|
||
|
c3039apw = null;
|
||
|
}
|
||
|
ZI.IeS ieS = new ZI.IeS(c3039apw) { // from class: o.apy
|
||
|
private C3039apw c;
|
||
|
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj) {
|
||
|
C3039apw.c(this.c, (InterfaceC9071dcm.LWm) obj);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.c = c3039apw;
|
||
|
}
|
||
|
};
|
||
|
if (c3039apw.f != 0) {
|
||
|
ieS.e(c3039apw.f);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ boolean aqU_(TempLimitPreApprovedBottomFragment tempLimitPreApprovedBottomFragment, MotionEvent motionEvent) {
|
||
|
C14957gcv.e(tempLimitPreApprovedBottomFragment, "");
|
||
|
if (motionEvent.getAction() != 1) {
|
||
|
return false;
|
||
|
}
|
||
|
C3039apw c3039apw = tempLimitPreApprovedBottomFragment.presenter;
|
||
|
if (c3039apw == null) {
|
||
|
C14957gcv.a("");
|
||
|
c3039apw = null;
|
||
|
}
|
||
|
InterfaceC9071dcm.HBt.e(c3039apw, Boolean.TRUE, null, null, null, 14);
|
||
|
return false;
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void c(TempLimitPreApprovedBottomFragment tempLimitPreApprovedBottomFragment) {
|
||
|
String str = "";
|
||
|
C14957gcv.e(tempLimitPreApprovedBottomFragment, "");
|
||
|
C3039apw c3039apw = tempLimitPreApprovedBottomFragment.presenter;
|
||
|
if (c3039apw == null) {
|
||
|
C14957gcv.a("");
|
||
|
c3039apw = null;
|
||
|
}
|
||
|
String str2 = tempLimitPreApprovedBottomFragment.d;
|
||
|
String str3 = tempLimitPreApprovedBottomFragment.s;
|
||
|
int i = tempLimitPreApprovedBottomFragment.p;
|
||
|
OffsetDateTime offsetDateTime = tempLimitPreApprovedBottomFragment.q;
|
||
|
String str4 = tempLimitPreApprovedBottomFragment.t;
|
||
|
int i2 = tempLimitPreApprovedBottomFragment.r;
|
||
|
C2996apE c2996apE = new C2996apE(c3039apw);
|
||
|
if (c3039apw.f != 0) {
|
||
|
c2996apE.e(c3039apw.f);
|
||
|
}
|
||
|
if (c3039apw.a) {
|
||
|
C0435Gm c0435Gm = c3039apw.e;
|
||
|
List<GA> list = c0435Gm != null ? c0435Gm.f : null;
|
||
|
List<GA> list2 = list;
|
||
|
String str5 = (list2 == null || list2.isEmpty()) ? "" : list.get(i).e;
|
||
|
C0435Gm c0435Gm2 = c3039apw.e;
|
||
|
List<String> list3 = c0435Gm2 != null ? c0435Gm2.g : null;
|
||
|
List<String> list4 = list3;
|
||
|
if (list4 != null && !list4.isEmpty()) {
|
||
|
str = list3.get(i2);
|
||
|
}
|
||
|
C16389ns c16389ns = c3039apw.b;
|
||
|
final C0455Gy a = C16389ns.a(c3039apw.d, c3039apw.e, str2, str4, str, str3, str5);
|
||
|
ZI.IeS ieS = new ZI.IeS(a) { // from class: o.apC
|
||
|
private C0455Gy e;
|
||
|
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj) {
|
||
|
C3039apw.a(this.e, (InterfaceC9071dcm.LWm) obj);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.e = a;
|
||
|
}
|
||
|
};
|
||
|
if (c3039apw.f != 0) {
|
||
|
ieS.e(c3039apw.f);
|
||
|
return;
|
||
|
}
|
||
|
return;
|
||
|
}
|
||
|
GG gg = c3039apw.c;
|
||
|
OffsetDateTime d = cXG.d("yyyy-MM-dd", gg != null ? gg.g : null);
|
||
|
GG gg2 = c3039apw.c;
|
||
|
boolean z = gg2 != null && gg2.c;
|
||
|
C16389ns c16389ns2 = c3039apw.b;
|
||
|
C0367Fb c0367Fb = c3039apw.d;
|
||
|
GG gg3 = c3039apw.c;
|
||
|
final GF d2 = C16389ns.d(c0367Fb, str2, offsetDateTime, d, str3, z, gg3 != null ? gg3.i : null);
|
||
|
ZI.IeS ieS2 = new ZI.IeS(d2) { // from class: o.apF
|
||
|
private GF a;
|
||
|
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj) {
|
||
|
C3039apw.e(this.a, (InterfaceC9071dcm.LWm) obj);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.a = d2;
|
||
|
}
|
||
|
};
|
||
|
if (c3039apw.f != 0) {
|
||
|
ieS2.e(c3039apw.f);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ boolean aqV_(TempLimitPreApprovedBottomFragment tempLimitPreApprovedBottomFragment, MotionEvent motionEvent) {
|
||
|
C14957gcv.e(tempLimitPreApprovedBottomFragment, "");
|
||
|
if (motionEvent.getAction() != 1) {
|
||
|
return false;
|
||
|
}
|
||
|
C3039apw c3039apw = tempLimitPreApprovedBottomFragment.presenter;
|
||
|
if (c3039apw == null) {
|
||
|
C14957gcv.a("");
|
||
|
c3039apw = null;
|
||
|
}
|
||
|
InterfaceC9071dcm.HBt.e(c3039apw, null, Boolean.TRUE, null, null, 13);
|
||
|
return false;
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void d(TempLimitPreApprovedBottomFragment tempLimitPreApprovedBottomFragment) {
|
||
|
C14957gcv.e(tempLimitPreApprovedBottomFragment, "");
|
||
|
C3039apw c3039apw = tempLimitPreApprovedBottomFragment.presenter;
|
||
|
if (c3039apw == null) {
|
||
|
C14957gcv.a("");
|
||
|
c3039apw = null;
|
||
|
}
|
||
|
InterfaceC9071dcm.HBt.e(c3039apw, null, null, null, Boolean.TRUE, 7);
|
||
|
OffsetDateTime ofInstant = OffsetDateTime.ofInstant(C15517gsm.toInstant(Calendar.getInstance()), AbstractC15502gsH.of("Asia/Bangkok"));
|
||
|
Context context = tempLimitPreApprovedBottomFragment.getContext();
|
||
|
OffsetDateTime offsetDateTime = tempLimitPreApprovedBottomFragment.q;
|
||
|
GG gg = c3039apw.c;
|
||
|
OffsetDateTime d = cXG.d("yyyy-MM-dd", gg != null ? gg.g : null);
|
||
|
GG gg2 = c3039apw.c;
|
||
|
Intent alG_ = CalendarDialogActivity.alG_(context, ofInstant, offsetDateTime, d, cXG.d("yyyy-MM-dd", gg2 != null ? gg2.a : null));
|
||
|
huo<Intent> huoVar = tempLimitPreApprovedBottomFragment.j;
|
||
|
if (huoVar == null) {
|
||
|
C14957gcv.a("");
|
||
|
huoVar = null;
|
||
|
}
|
||
|
huoVar.d(alG_, null);
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9071dcm.LWm
|
||
|
public final void e(GG gg) {
|
||
|
hcD hcd = (hcD) this.g.e();
|
||
|
RelativeLayout relativeLayout = hcd.b.e;
|
||
|
C14957gcv.c(relativeLayout, "");
|
||
|
RelativeLayout relativeLayout2 = relativeLayout;
|
||
|
C14957gcv.e(relativeLayout2, "");
|
||
|
relativeLayout2.setVisibility(8);
|
||
|
ConstraintLayout constraintLayout = hcd.h.c;
|
||
|
C14957gcv.c(constraintLayout, "");
|
||
|
ConstraintLayout constraintLayout2 = constraintLayout;
|
||
|
C14957gcv.e(constraintLayout2, "");
|
||
|
constraintLayout2.setVisibility(8);
|
||
|
hcD hcd2 = (hcD) this.g.e();
|
||
|
Group group = hcd2.c;
|
||
|
C14957gcv.c(group, "");
|
||
|
Group group2 = group;
|
||
|
C14957gcv.e(group2, "");
|
||
|
group2.setVisibility(0);
|
||
|
hcd2.j.setOnClickListener(new View.OnClickListener(this) { // from class: o.eJO
|
||
|
private TempLimitPreApprovedBottomFragment e;
|
||
|
|
||
|
@Override // android.view.View.OnClickListener
|
||
|
public final void onClick(View view) {
|
||
|
TempLimitPreApprovedBottomFragment.d(this.e);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.e = this;
|
||
|
}
|
||
|
});
|
||
|
if (gg != null) {
|
||
|
b(gg.b);
|
||
|
c(gg.e);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static final /* synthetic */ void aqW_(TempLimitPreApprovedBottomFragment tempLimitPreApprovedBottomFragment, AdapterView adapterView, int i) {
|
||
|
FragmentActivity activity = tempLimitPreApprovedBottomFragment.getActivity();
|
||
|
if (activity == null || i != 0) {
|
||
|
return;
|
||
|
}
|
||
|
View childAt = adapterView.getChildAt(0);
|
||
|
if (childAt instanceof TextView) {
|
||
|
((TextView) childAt).setTextColor(nMh.getColor(activity, R.color.f3412131099849));
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9071dcm.LWm
|
||
|
public final void e(List<String> list) {
|
||
|
C14957gcv.e(list, "");
|
||
|
hcD hcd = (hcD) this.g.e();
|
||
|
ConstraintLayout constraintLayout = hcd.h.c;
|
||
|
C14957gcv.c(constraintLayout, "");
|
||
|
ConstraintLayout constraintLayout2 = constraintLayout;
|
||
|
C14957gcv.e(constraintLayout2, "");
|
||
|
constraintLayout2.setVisibility(4);
|
||
|
RelativeLayout relativeLayout = hcd.b.e;
|
||
|
C14957gcv.c(relativeLayout, "");
|
||
|
RelativeLayout relativeLayout2 = relativeLayout;
|
||
|
C14957gcv.e(relativeLayout2, "");
|
||
|
relativeLayout2.setVisibility(0);
|
||
|
Group group = hcd.c;
|
||
|
C14957gcv.c(group, "");
|
||
|
Group group2 = group;
|
||
|
C14957gcv.e(group2, "");
|
||
|
group2.setVisibility(4);
|
||
|
this.n = ((hcD) this.g.e()).b.b;
|
||
|
FragmentActivity activity = getActivity();
|
||
|
if (activity != null) {
|
||
|
C12060erA c12060erA = new C12060erA(activity, R.layout.2131559353, list);
|
||
|
Spinner spinner = this.n;
|
||
|
if (spinner != null) {
|
||
|
spinner.setAdapter((SpinnerAdapter) c12060erA);
|
||
|
spinner.setOnItemSelectedListener(this.l);
|
||
|
spinner.setOnTouchListener(new View.OnTouchListener(this) { // from class: o.eJQ
|
||
|
private TempLimitPreApprovedBottomFragment a;
|
||
|
|
||
|
@Override // android.view.View.OnTouchListener
|
||
|
public final boolean onTouch(View view, MotionEvent motionEvent) {
|
||
|
return TempLimitPreApprovedBottomFragment.aqT_(this.a, motionEvent);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.a = this;
|
||
|
}
|
||
|
});
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9071dcm.LWm
|
||
|
public final void c(List<String> list) {
|
||
|
C14957gcv.e(list, "");
|
||
|
hcD hcd = (hcD) this.g.e();
|
||
|
RelativeLayout relativeLayout = hcd.i.e;
|
||
|
C14957gcv.c(relativeLayout, "");
|
||
|
RelativeLayout relativeLayout2 = relativeLayout;
|
||
|
C14957gcv.e(relativeLayout2, "");
|
||
|
relativeLayout2.setVisibility(0);
|
||
|
ConstraintLayout constraintLayout = hcd.f.c;
|
||
|
C14957gcv.c(constraintLayout, "");
|
||
|
ConstraintLayout constraintLayout2 = constraintLayout;
|
||
|
C14957gcv.e(constraintLayout2, "");
|
||
|
constraintLayout2.setVisibility(4);
|
||
|
TextView textView = hcd.n;
|
||
|
C14957gcv.c(textView, "");
|
||
|
TextView textView2 = textView;
|
||
|
C14957gcv.e(textView2, "");
|
||
|
textView2.setVisibility(0);
|
||
|
View view = hcd.d;
|
||
|
C14957gcv.c(view, "");
|
||
|
C14957gcv.e(view, "");
|
||
|
view.setVisibility(0);
|
||
|
this.m = ((hcD) this.g.e()).i.b;
|
||
|
FragmentActivity activity = getActivity();
|
||
|
if (activity != null) {
|
||
|
C12060erA c12060erA = new C12060erA(activity, R.layout.2131559353, list);
|
||
|
Spinner spinner = this.m;
|
||
|
if (spinner != null) {
|
||
|
spinner.setAdapter((SpinnerAdapter) c12060erA);
|
||
|
spinner.setOnItemSelectedListener(this.f8025o);
|
||
|
spinner.setOnTouchListener(new View.OnTouchListener(this) { // from class: o.eJJ
|
||
|
private TempLimitPreApprovedBottomFragment e;
|
||
|
|
||
|
@Override // android.view.View.OnTouchListener
|
||
|
public final boolean onTouch(View view2, MotionEvent motionEvent) {
|
||
|
return TempLimitPreApprovedBottomFragment.aqV_(this.e, motionEvent);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.e = this;
|
||
|
}
|
||
|
});
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9071dcm.LWm
|
||
|
public final void d(List<String> list) {
|
||
|
C14957gcv.e(list, "");
|
||
|
hcD hcd = (hcD) this.g.e();
|
||
|
RelativeLayout relativeLayout = hcd.i.e;
|
||
|
C14957gcv.c(relativeLayout, "");
|
||
|
RelativeLayout relativeLayout2 = relativeLayout;
|
||
|
C14957gcv.e(relativeLayout2, "");
|
||
|
relativeLayout2.setVisibility(4);
|
||
|
ConstraintLayout constraintLayout = hcd.f.c;
|
||
|
C14957gcv.c(constraintLayout, "");
|
||
|
ConstraintLayout constraintLayout2 = constraintLayout;
|
||
|
C14957gcv.e(constraintLayout2, "");
|
||
|
constraintLayout2.setVisibility(0);
|
||
|
TextView textView = hcd.n;
|
||
|
C14957gcv.c(textView, "");
|
||
|
TextView textView2 = textView;
|
||
|
C14957gcv.e(textView2, "");
|
||
|
textView2.setVisibility(0);
|
||
|
View view = hcd.d;
|
||
|
C14957gcv.c(view, "");
|
||
|
C14957gcv.e(view, "");
|
||
|
view.setVisibility(0);
|
||
|
this.m = ((hcD) this.g.e()).f.e;
|
||
|
FragmentActivity activity = getActivity();
|
||
|
if (activity != null) {
|
||
|
C12060erA c12060erA = new C12060erA(activity, R.layout.2131559358, list);
|
||
|
this.p = 1;
|
||
|
this.s = list.get(1);
|
||
|
Spinner spinner = this.m;
|
||
|
if (spinner != null) {
|
||
|
spinner.setAdapter((SpinnerAdapter) c12060erA);
|
||
|
spinner.setSelection(1);
|
||
|
spinner.setClickable(false);
|
||
|
spinner.setEnabled(false);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9071dcm.LWm
|
||
|
public final void a(List<String> list) {
|
||
|
C14957gcv.e(list, "");
|
||
|
hcD hcd = (hcD) this.g.e();
|
||
|
RelativeLayout relativeLayout = hcd.b.e;
|
||
|
C14957gcv.c(relativeLayout, "");
|
||
|
RelativeLayout relativeLayout2 = relativeLayout;
|
||
|
C14957gcv.e(relativeLayout2, "");
|
||
|
relativeLayout2.setVisibility(4);
|
||
|
ConstraintLayout constraintLayout = hcd.h.c;
|
||
|
C14957gcv.c(constraintLayout, "");
|
||
|
ConstraintLayout constraintLayout2 = constraintLayout;
|
||
|
C14957gcv.e(constraintLayout2, "");
|
||
|
constraintLayout2.setVisibility(0);
|
||
|
Group group = hcd.c;
|
||
|
C14957gcv.c(group, "");
|
||
|
Group group2 = group;
|
||
|
C14957gcv.e(group2, "");
|
||
|
group2.setVisibility(4);
|
||
|
this.n = ((hcD) this.g.e()).h.e;
|
||
|
FragmentActivity activity = getActivity();
|
||
|
if (activity != null) {
|
||
|
C12060erA c12060erA = new C12060erA(activity, R.layout.2131559358, list);
|
||
|
this.r = 1;
|
||
|
C3039apw c3039apw = this.presenter;
|
||
|
if (c3039apw == null) {
|
||
|
C14957gcv.a("");
|
||
|
c3039apw = null;
|
||
|
}
|
||
|
this.t = c3039apw.b(1);
|
||
|
Spinner spinner = this.n;
|
||
|
if (spinner != null) {
|
||
|
spinner.setAdapter((SpinnerAdapter) c12060erA);
|
||
|
spinner.setSelection(1);
|
||
|
spinner.setClickable(false);
|
||
|
spinner.setEnabled(false);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static final /* synthetic */ void a(TempLimitPreApprovedBottomFragment tempLimitPreApprovedBottomFragment) {
|
||
|
C3039apw c3039apw = tempLimitPreApprovedBottomFragment.presenter;
|
||
|
if (c3039apw == null) {
|
||
|
C14957gcv.a("");
|
||
|
c3039apw = null;
|
||
|
}
|
||
|
((hcD) tempLimitPreApprovedBottomFragment.g.e()).e.setEnabled(c3039apw.a(tempLimitPreApprovedBottomFragment.d, tempLimitPreApprovedBottomFragment.q, tempLimitPreApprovedBottomFragment.s, tempLimitPreApprovedBottomFragment.t));
|
||
|
}
|
||
|
}
|