104 lines
3.7 KiB
Java
104 lines
3.7 KiB
Java
|
package com.scb.phone.view.fragment.cardmanagement.deejungtransfer;
|
||
|
|
||
|
import android.content.Intent;
|
||
|
import android.os.Build;
|
||
|
import android.os.Bundle;
|
||
|
import android.os.Parcelable;
|
||
|
import android.view.LayoutInflater;
|
||
|
import android.view.View;
|
||
|
import android.view.ViewGroup;
|
||
|
import android.widget.ImageView;
|
||
|
import androidx.constraintlayout.widget.ConstraintLayout;
|
||
|
import androidx.fragment.app.FragmentActivity;
|
||
|
import com.scb.phone.R;
|
||
|
import o.C11352edi;
|
||
|
import o.C12891fKc;
|
||
|
import o.C14957gcv;
|
||
|
import o.GP;
|
||
|
import o.jWg;
|
||
|
|
||
|
/* loaded from: classes5.dex */
|
||
|
public final class DeejungTransferMinFullSummaryFragment extends Hilt_DeejungTransferMinFullSummaryFragment {
|
||
|
C11352edi c;
|
||
|
|
||
|
/* loaded from: classes5.dex */
|
||
|
public static final class IeS {
|
||
|
private IeS() {
|
||
|
}
|
||
|
|
||
|
public /* synthetic */ IeS(byte b) {
|
||
|
this();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // androidx.fragment.app.Fragment
|
||
|
public final View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
|
||
|
C14957gcv.e(layoutInflater, "");
|
||
|
C11352edi b = C11352edi.b(getLayoutInflater().inflate(R.layout.2131559556, (ViewGroup) null, false));
|
||
|
C14957gcv.c(b, "");
|
||
|
this.c = b;
|
||
|
ConstraintLayout constraintLayout = b.a;
|
||
|
C14957gcv.c(constraintLayout, "");
|
||
|
return constraintLayout;
|
||
|
}
|
||
|
|
||
|
@Override // androidx.fragment.app.Fragment
|
||
|
public final void onViewCreated(View view, Bundle bundle) {
|
||
|
C14957gcv.e(view, "");
|
||
|
super.onViewCreated(view, bundle);
|
||
|
FragmentActivity activity = getActivity();
|
||
|
if (activity != null) {
|
||
|
Intent intent = activity.getIntent();
|
||
|
C14957gcv.c(intent, "");
|
||
|
if (Build.VERSION.SDK_INT >= 33) {
|
||
|
Bundle extras = intent.getExtras();
|
||
|
if (extras != null) {
|
||
|
r3 = (Parcelable) extras.getParcelable("com.scb.phone.view.activity.card_management.DeejungTransferMinFullSummaryFragment.KEY_TRANSFER_INSTALLMENT_SUMMARY_DISPLAY_MODEL", GP.class);
|
||
|
}
|
||
|
} else {
|
||
|
Bundle extras2 = intent.getExtras();
|
||
|
Parcelable parcelable = extras2 != null ? extras2.getParcelable("com.scb.phone.view.activity.card_management.DeejungTransferMinFullSummaryFragment.KEY_TRANSFER_INSTALLMENT_SUMMARY_DISPLAY_MODEL") : null;
|
||
|
r3 = (GP) (parcelable instanceof GP ? parcelable : null);
|
||
|
}
|
||
|
b((GP) r3, activity.getIntent().getBooleanExtra("IS_SUCCESS", false));
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
public final void b(GP gp, boolean z) {
|
||
|
C11352edi c11352edi = this.c;
|
||
|
if (c11352edi == null) {
|
||
|
C14957gcv.a("");
|
||
|
c11352edi = null;
|
||
|
}
|
||
|
jWg jwg = c11352edi.d;
|
||
|
jwg.a.setText(R.string.from_label);
|
||
|
jwg.e.setText(gp != null ? gp.h : null);
|
||
|
jwg.c.setText(gp != null ? gp.c : null);
|
||
|
ImageView imageView = jwg.d;
|
||
|
C14957gcv.c(imageView, "");
|
||
|
String str = gp != null ? gp.e : null;
|
||
|
if (str == null) {
|
||
|
str = "";
|
||
|
}
|
||
|
C12891fKc.azw_(imageView, str);
|
||
|
jWg jwg2 = c11352edi.h;
|
||
|
jwg2.a.setText(R.string.to_label);
|
||
|
jwg2.e.setText(gp != null ? gp.m : null);
|
||
|
jwg2.c.setText(gp != null ? gp.l : null);
|
||
|
c11352edi.j.setText(gp != null ? gp.k : null);
|
||
|
c11352edi.e.setText(gp != null ? gp.b : null);
|
||
|
c11352edi.b.setText(gp != null ? gp.a : null);
|
||
|
if (z) {
|
||
|
View view = c11352edi.c;
|
||
|
C14957gcv.c(view, "");
|
||
|
C14957gcv.e(view, "");
|
||
|
view.setVisibility(4);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
static {
|
||
|
new IeS((byte) 0);
|
||
|
}
|
||
|
}
|