122 lines
4.1 KiB
Java
122 lines
4.1 KiB
Java
|
package com.scb.phone.view.fragment.closeaccount;
|
||
|
|
||
|
import android.os.Bundle;
|
||
|
import android.view.LayoutInflater;
|
||
|
import android.view.View;
|
||
|
import android.view.ViewGroup;
|
||
|
import android.widget.TextView;
|
||
|
import androidx.fragment.app.Fragment;
|
||
|
import butterknife.BindView;
|
||
|
import butterknife.ButterKnife;
|
||
|
import com.scb.phone.R;
|
||
|
import com.scb.phone.view.fragment.closeaccount.CloseAccountSelectionOwnSelectedFragment;
|
||
|
import o.AbstractC13482fbE;
|
||
|
import o.C3551azg;
|
||
|
import o.InterfaceC12832fIg;
|
||
|
import o.InterfaceC13391fZD;
|
||
|
import o.InterfaceC9133ddv;
|
||
|
import o.WW;
|
||
|
import o.ZI;
|
||
|
import o.nxV;
|
||
|
import o.yRS;
|
||
|
|
||
|
/* loaded from: classes5.dex */
|
||
|
public class CloseAccountSelectionFragment extends Hilt_CloseAccountSelectionFragment implements InterfaceC9133ddv, InterfaceC12832fIg, CloseAccountSelectionOwnSelectedFragment.RVV {
|
||
|
|
||
|
@BindView
|
||
|
TextView accountSourceSubtitle;
|
||
|
|
||
|
@BindView
|
||
|
TextView accountSourceTitle;
|
||
|
|
||
|
@InterfaceC13391fZD
|
||
|
public C3551azg presenter;
|
||
|
|
||
|
public static Fragment g() {
|
||
|
return new CloseAccountSelectionFragment();
|
||
|
}
|
||
|
|
||
|
@Override // androidx.fragment.app.Fragment
|
||
|
public View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
|
||
|
View inflate = layoutInflater.inflate(R.layout.2131559509, viewGroup, false);
|
||
|
ButterKnife.c(this, inflate);
|
||
|
this.presenter.e((C3551azg) this);
|
||
|
C3551azg c3551azg = this.presenter;
|
||
|
c3551azg.c.c();
|
||
|
nxV nxv = c3551azg.c;
|
||
|
nxv.d(nxv.i, new C3551azg.AnonymousClass3(c3551azg));
|
||
|
return inflate;
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9133ddv
|
||
|
public final void e() {
|
||
|
yRS childFragmentManager = getChildFragmentManager();
|
||
|
Fragment findFragmentByTag = childFragmentManager.findFragmentByTag("CloseAccountSelectionTagFragment");
|
||
|
if (findFragmentByTag == null) {
|
||
|
findFragmentByTag = CloseAccountSelectionTabFragment.h();
|
||
|
}
|
||
|
AbstractC13482fbE a = childFragmentManager.a();
|
||
|
a.n = R.anim.2130772001;
|
||
|
a.f9128o = R.anim.2130772000;
|
||
|
a.l = R.anim.2130772001;
|
||
|
a.t = R.anim.2130772000;
|
||
|
a.b(R.id.fm_layout_container, findFragmentByTag, "CloseAccountSelectionTagFragment", 2);
|
||
|
a.b();
|
||
|
Fragment findFragmentByTag2 = childFragmentManager.findFragmentByTag("CloseAccountSelectionOwnSelectedFragment");
|
||
|
if (findFragmentByTag2 instanceof CloseAccountSelectionOwnSelectedFragment) {
|
||
|
((CloseAccountSelectionOwnSelectedFragment) findFragmentByTag2).reviewButton.setVisibility(4);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9133ddv
|
||
|
public final void d() {
|
||
|
AbstractC13482fbE a = getChildFragmentManager().a();
|
||
|
a.n = R.anim.2130772001;
|
||
|
a.f9128o = R.anim.2130772000;
|
||
|
a.l = R.anim.2130772001;
|
||
|
a.t = R.anim.2130772000;
|
||
|
a.b(R.id.fm_layout_container, CloseAccountSelectionOwnSelectedFragment.j(), "CloseAccountSelectionOwnSelectedFragment", 2);
|
||
|
a.b();
|
||
|
}
|
||
|
|
||
|
@Override // com.scb.phone.view.fragment.BaseFragment, androidx.fragment.app.Fragment
|
||
|
public void onDestroy() {
|
||
|
this.presenter.w_();
|
||
|
super.onDestroy();
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC12832fIg
|
||
|
public final void i() {
|
||
|
C3551azg c3551azg = this.presenter;
|
||
|
ZI.IeS ieS = new ZI.IeS() { // from class: o.aze
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj) {
|
||
|
((InterfaceC9133ddv) obj).d();
|
||
|
}
|
||
|
};
|
||
|
if (c3551azg.f != 0) {
|
||
|
ieS.e(c3551azg.f);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // com.scb.phone.view.fragment.closeaccount.CloseAccountSelectionOwnSelectedFragment.RVV
|
||
|
public final void h() {
|
||
|
C3551azg c3551azg = this.presenter;
|
||
|
ZI.IeS ieS = new ZI.IeS() { // from class: o.azh
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj) {
|
||
|
((InterfaceC9133ddv) obj).e();
|
||
|
}
|
||
|
};
|
||
|
if (c3551azg.f != 0) {
|
||
|
ieS.e(c3551azg.f);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9133ddv
|
||
|
public final void e(WW ww) {
|
||
|
this.accountSourceTitle.setText(ww.x);
|
||
|
this.accountSourceSubtitle.setText(ww.c);
|
||
|
}
|
||
|
}
|