package com.scb.phone.view.fragment.investment.schedule; import android.content.Context; import android.widget.TextView; import butterknife.BindView; import o.InterfaceC8942daP; import o.InterfaceC8945daS; import o.VV; /* loaded from: classes5.dex */ public abstract class BaseSetupScheduleFragment extends Hilt_BaseSetupScheduleFragment implements InterfaceC8942daP.LWm { protected InterfaceC8945daS c; @BindView TextView disclaimerTextView; abstract String d(); @Override // o.InterfaceC8942daP.LWm public final void d(boolean z) { this.c.c(d(), z); } @Override // o.InterfaceC8942daP.LWm public final void d(VV vv) { this.c.e(d(), vv); } /* JADX WARN: Multi-variable type inference failed */ @Override // com.scb.phone.view.fragment.investment.schedule.Hilt_BaseSetupScheduleFragment, com.scb.phone.view.fragment.Hilt_BaseFragment, androidx.fragment.app.Fragment public void onAttach(Context context) { super.onAttach(context); if (this.c == null) { if (context instanceof InterfaceC8945daS) { this.c = (InterfaceC8945daS) context; } else { if (getParentFragment() instanceof InterfaceC8945daS) { this.c = (InterfaceC8945daS) getParentFragment(); return; } throw new ClassCastException(); } } } @Override // o.InterfaceC8942daP.LWm public final void d(String str) { this.disclaimerTextView.setText(str); } }