79 lines
2.3 KiB
Java
79 lines
2.3 KiB
Java
|
package o;
|
||
|
|
||
|
import androidx.fragment.app.Fragment;
|
||
|
import com.scb.phone.view.custom.common.ProgressStateBar;
|
||
|
import com.scb.phone.view.fragment.BaseFragment;
|
||
|
|
||
|
/* renamed from: o.dpA, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes4.dex */
|
||
|
public interface InterfaceC9713dpA {
|
||
|
|
||
|
/* renamed from: o.dpA$HBt */
|
||
|
/* loaded from: classes4.dex */
|
||
|
public interface HBt {
|
||
|
boolean p();
|
||
|
|
||
|
String q();
|
||
|
|
||
|
int t();
|
||
|
}
|
||
|
|
||
|
/* renamed from: o.dpA$LWm */
|
||
|
/* loaded from: classes4.dex */
|
||
|
public interface LWm {
|
||
|
void a(String str);
|
||
|
}
|
||
|
|
||
|
yRS getSupportFragmentManager();
|
||
|
|
||
|
LWm p();
|
||
|
|
||
|
ProgressStateBar t();
|
||
|
|
||
|
/* JADX WARN: Multi-variable type inference failed */
|
||
|
default <F extends BaseFragment & HBt> void d(F f) {
|
||
|
AbstractC13482fbE a = getSupportFragmentManager().a();
|
||
|
a.b(com.scb.phone.R.id.container, f, f.getClass().getSimpleName(), 2);
|
||
|
if (a.d) {
|
||
|
a.a = true;
|
||
|
a.m = null;
|
||
|
a.b();
|
||
|
return;
|
||
|
}
|
||
|
throw new IllegalStateException("This FragmentTransaction is not allowed to be added to the back stack.");
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: Multi-variable type inference failed */
|
||
|
default <F extends BaseFragment & HBt> void e(Fragment fragment, F f) {
|
||
|
fragment.getView().setVisibility(4);
|
||
|
AbstractC13482fbE a = getSupportFragmentManager().a();
|
||
|
a.b(com.scb.phone.R.id.container, f, f.getClass().getSimpleName(), 1);
|
||
|
if (a.d) {
|
||
|
a.a = true;
|
||
|
a.m = null;
|
||
|
a.b();
|
||
|
return;
|
||
|
}
|
||
|
throw new IllegalStateException("This FragmentTransaction is not allowed to be added to the back stack.");
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: Multi-variable type inference failed */
|
||
|
default <F extends BaseFragment & HBt> void b(F f) {
|
||
|
AbstractC13482fbE a = getSupportFragmentManager().a();
|
||
|
a.b(com.scb.phone.R.id.container, f, f.getClass().getSimpleName(), 1);
|
||
|
if (a.d) {
|
||
|
a.a = true;
|
||
|
a.m = null;
|
||
|
a.b();
|
||
|
return;
|
||
|
}
|
||
|
throw new IllegalStateException("This FragmentTransaction is not allowed to be added to the back stack.");
|
||
|
}
|
||
|
|
||
|
default void c(HBt hBt) {
|
||
|
p().a(hBt.q());
|
||
|
t().setCurrentState(hBt.t());
|
||
|
t().setVisibility(hBt.p() ? 0 : 8);
|
||
|
}
|
||
|
}
|