what-the-bank/sources/com/scb/phone/view/fragment/cardmanagement/deejungtransfer/DeejungTransferConfirmation...

93 lines
3.2 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
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.TextView;
import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.fragment.app.FragmentActivity;
import com.scb.phone.R;
import o.C14957gcv;
import o.C17053tZa;
import o.GL;
/* loaded from: classes5.dex */
public final class DeejungTransferConfirmationHeaderFragment extends Hilt_DeejungTransferConfirmationHeaderFragment {
C17053tZa c;
/* loaded from: classes5.dex */
public static final class HBt {
private HBt() {
}
public /* synthetic */ HBt(byte b) {
this();
}
}
@Override // androidx.fragment.app.Fragment
public final View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
C14957gcv.e(layoutInflater, "");
C17053tZa d = C17053tZa.d(getLayoutInflater().inflate(R.layout.2131559962, (ViewGroup) null, false));
C14957gcv.c(d, "");
this.c = d;
ConstraintLayout constraintLayout = d.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) {
r2 = (Parcelable) extras.getParcelable("com.scb.phone.view.activity.card_management.DeejungTransferConfirmationHeaderFragment.KEY_TRANSFER_CONFIRMATION_HEADER_DISPLAY_MODEL", GL.class);
}
} else {
Bundle extras2 = intent.getExtras();
Parcelable parcelable = extras2 != null ? extras2.getParcelable("com.scb.phone.view.activity.card_management.DeejungTransferConfirmationHeaderFragment.KEY_TRANSFER_CONFIRMATION_HEADER_DISPLAY_MODEL") : null;
r2 = (GL) (parcelable instanceof GL ? parcelable : null);
}
b((GL) r2);
}
}
/* JADX INFO: Access modifiers changed from: package-private */
public final void b(GL gl) {
C17053tZa c17053tZa = this.c;
if (c17053tZa == null) {
C14957gcv.a("");
c17053tZa = null;
}
TextView textView = c17053tZa.e;
String str = gl != null ? gl.a : null;
if (str == null) {
str = "";
}
textView.setText(str);
TextView textView2 = c17053tZa.d;
String str2 = gl != null ? gl.e : null;
if (str2 == null) {
str2 = "";
}
textView2.setText(str2);
TextView textView3 = c17053tZa.b;
String str3 = gl != null ? gl.b : null;
textView3.setText(str3 != null ? str3 : "");
}
static {
new HBt((byte) 0);
}
}