51 lines
1.9 KiB
Java
51 lines
1.9 KiB
Java
package com.scb.phone.view.fragment.easycash;
|
|
|
|
import android.content.Context;
|
|
import android.os.Bundle;
|
|
import butterknife.OnClick;
|
|
import com.scb.phone.view.activity.easycash.EasycashSubDistrictSearchActivity;
|
|
import com.scb.phone.view.fragment.ntb.address.BaseAddressFragment;
|
|
import o.InterfaceC9713dpA;
|
|
import o.SP;
|
|
|
|
/* loaded from: classes5.dex */
|
|
public abstract class BaseBreadcrumbAddressFragment extends BaseAddressFragment implements InterfaceC9713dpA.HBt {
|
|
private InterfaceC9713dpA c;
|
|
private boolean d = false;
|
|
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
@Override // com.scb.phone.view.fragment.ntb.address.BaseAddressFragment, com.scb.phone.view.fragment.ntb.address.Hilt_BaseAddressFragment, com.scb.phone.view.fragment.Hilt_BaseFragment, androidx.fragment.app.Fragment
|
|
public void onAttach(Context context) {
|
|
super.onAttach(context);
|
|
if (context instanceof InterfaceC9713dpA) {
|
|
this.c = (InterfaceC9713dpA) context;
|
|
}
|
|
}
|
|
|
|
@Override // androidx.fragment.app.Fragment
|
|
public void onStart() {
|
|
Bundle arguments;
|
|
SP sp;
|
|
super.onStart();
|
|
this.c.c(this);
|
|
if (this.d || (arguments = getArguments()) == null || !arguments.containsKey("com.scb.phone.view.fragment.easycash.financial_information.ADDRESS_DISPLAY") || (sp = (SP) arguments.getParcelable("com.scb.phone.view.fragment.easycash.financial_information.ADDRESS_DISPLAY")) == null) {
|
|
return;
|
|
}
|
|
((BaseAddressFragment) this).f = sp;
|
|
c(sp, true);
|
|
}
|
|
|
|
@Override // androidx.fragment.app.Fragment
|
|
public void onDetach() {
|
|
super.onDetach();
|
|
this.c = null;
|
|
}
|
|
|
|
@Override // com.scb.phone.view.fragment.ntb.address.BaseAddressFragment
|
|
@OnClick
|
|
public void onSelectProvinceClick() {
|
|
this.d = true;
|
|
startActivityForResult(EasycashSubDistrictSearchActivity.aeB_(getContext(), q()), 10002);
|
|
}
|
|
}
|