package com.scb.phone.view.fragment.investment.onboarding; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import butterknife.BindView; import butterknife.ButterKnife; import butterknife.OnClick; import com.scb.phone.R; import com.scb.phone.view.activity.investment.onboarding.FundOtpActivity; import com.scb.phone.view.custom.ntb.CustomInformationPanel; import java.util.List; import o.C12930fLh; import o.C3718bEl; import o.InterfaceC13391fZD; import o.InterfaceC6669cZl; import o.SZ; import o.ZI; import o.fSQ; /* loaded from: classes5.dex */ public class FundOnboardingReviewFragment extends Hilt_FundOnboardingReviewFragment implements InterfaceC6669cZl.saX { @BindView CustomInformationPanel investmentPanel; @BindView CustomInformationPanel personalPanel; @InterfaceC13391fZD public C3718bEl presenter; @Override // androidx.fragment.app.Fragment public View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) { View inflate = layoutInflater.inflate(R.layout.2131559772, viewGroup, false); ButterKnife.c(this, inflate); this.personalPanel.setTitleBackground(R.color.f3032131099810); this.investmentPanel.setTitleBackground(R.color.f3032131099810); v("mfonboard_review"); return inflate; } @Override // androidx.fragment.app.Fragment public void onStart() { super.onStart(); this.presenter.e((C3718bEl) this); final C3718bEl c3718bEl = this.presenter; ZI.IeS ieS = new ZI.IeS() { // from class: o.bEo @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC6669cZl.saX) obj).y(); } }; if (c3718bEl.f != 0) { ieS.e(c3718bEl.f); } C12930fLh c12930fLh = c3718bEl.c; c12930fLh.d(c12930fLh.d(), new fSQ(c3718bEl) { // from class: o.bEk private C3718bEl c; @Override // o.fSQ public final void c(Object obj) { C3718bEl.e(this.c, (hNS) obj); } { this.c = c3718bEl; } }, new fSQ(c3718bEl) { // from class: o.bEp private C3718bEl d; @Override // o.fSQ public final void c(Object obj) { C3718bEl.a(this.d, (Throwable) obj); } { this.d = c3718bEl; } }); } @Override // o.InterfaceC6669cZl.saX public final void d(List list) { this.personalPanel.setTitle(getString(R.string.single_form_personal_info_header)); this.personalPanel.setInformationItemList(list); } @Override // o.InterfaceC6669cZl.saX public final void e(List list) { this.investmentPanel.setTitle(getString(R.string.mf_onboarding_review_header_investment_info_label)); this.investmentPanel.setInformationItemList(list); } @Override // o.InterfaceC6669cZl.saX public final void d() { startActivityForResult(FundOtpActivity.aht_(getActivity()), 8564); } /* JADX INFO: Access modifiers changed from: package-private */ @OnClick public void onConfirmClick() { C3718bEl c3718bEl = this.presenter; ZI.IeS ieS = new ZI.IeS() { // from class: o.bEq @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC6669cZl.saX) obj).d(); } }; if (c3718bEl.f != 0) { ieS.e(c3718bEl.f); } } }