what-the-bank/sources/com/scb/phone/view/fragment/hml/HmlUserInfoFragment.java

46 lines
1.8 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.fragment.hml;
import android.content.Intent;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.scb.phone.view.activity.demo.ntb.NTBLandingActivity;
import com.scb.phone.view.activity.hml.HmlNTBLandingActivity;
import java.util.ArrayList;
import java.util.List;
import o.C0566Jp;
import o.EVU;
/* loaded from: classes5.dex */
public class HmlUserInfoFragment extends Hilt_HmlUserInfoFragment {
private boolean d;
public static HmlUserInfoFragment a(boolean z) {
HmlUserInfoFragment hmlUserInfoFragment = new HmlUserInfoFragment();
Bundle bundle = new Bundle();
bundle.putBoolean("COMES_FROM_DEMO", z);
hmlUserInfoFragment.setArguments(bundle);
return hmlUserInfoFragment;
}
@Override // com.scb.phone.view.fragment.ntb.NtbUserInfoFragment, androidx.fragment.app.Fragment
public View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
View onCreateView = super.onCreateView(layoutInflater, viewGroup, bundle);
if (getArguments() != null) {
this.d = getArguments().getBoolean("COMES_FROM_DEMO", false);
}
return onCreateView;
}
@Override // com.scb.phone.view.fragment.ntb.NtbUserInfoFragment, o.InterfaceC6656cZW.LWm
public final void e(List<C0566Jp> list) {
if (this.d) {
startActivity(new Intent(getContext(), (Class<?>) NTBLandingActivity.class).putParcelableArrayListExtra("INTRODUCTION_LIST", new ArrayList<>(list)));
} else {
HmlNTBLandingActivity.HBt hBt = HmlNTBLandingActivity.f7301o;
startActivity(HmlNTBLandingActivity.HBt.aga_(getContext(), EVU.GENERAL));
}
}
}