125 lines
2.6 KiB
Java
125 lines
2.6 KiB
Java
package androidx.fragment.app;
|
|
|
|
import android.content.Context;
|
|
import android.content.res.Configuration;
|
|
import android.os.Parcelable;
|
|
import android.util.AttributeSet;
|
|
import android.view.Menu;
|
|
import android.view.MenuInflater;
|
|
import android.view.MenuItem;
|
|
import android.view.View;
|
|
|
|
/* loaded from: classes.dex */
|
|
public class FragmentController {
|
|
private final FragmentHostCallback<?> a;
|
|
|
|
private FragmentController(FragmentHostCallback<?> fragmentHostCallback) {
|
|
this.a = fragmentHostCallback;
|
|
}
|
|
|
|
public static FragmentController a(FragmentHostCallback<?> fragmentHostCallback) {
|
|
return new FragmentController(fragmentHostCallback);
|
|
}
|
|
|
|
public void b() {
|
|
this.a.d.g();
|
|
}
|
|
|
|
public void c() {
|
|
this.a.d.h();
|
|
}
|
|
|
|
public void d() {
|
|
this.a.d.j();
|
|
}
|
|
|
|
public void e() {
|
|
this.a.d.k();
|
|
}
|
|
|
|
public void f() {
|
|
this.a.d.l();
|
|
}
|
|
|
|
public void g() {
|
|
this.a.d.m();
|
|
}
|
|
|
|
public void h() {
|
|
this.a.d.n();
|
|
}
|
|
|
|
public boolean i() {
|
|
return this.a.d.p();
|
|
}
|
|
|
|
public FragmentManager j() {
|
|
return this.a.d();
|
|
}
|
|
|
|
public void k() {
|
|
this.a.d.s();
|
|
}
|
|
|
|
public FragmentManagerNonConfig l() {
|
|
return this.a.d.u();
|
|
}
|
|
|
|
public Parcelable m() {
|
|
return this.a.d.v();
|
|
}
|
|
|
|
public Fragment a(String str) {
|
|
return this.a.d.b(str);
|
|
}
|
|
|
|
public void b(boolean z) {
|
|
this.a.d.b(z);
|
|
}
|
|
|
|
public void a(Fragment fragment) {
|
|
FragmentHostCallback<?> fragmentHostCallback = this.a;
|
|
fragmentHostCallback.d.a(fragmentHostCallback, fragmentHostCallback, fragment);
|
|
}
|
|
|
|
public boolean b(Menu menu) {
|
|
return this.a.d.b(menu);
|
|
}
|
|
|
|
public View a(View view, String str, Context context, AttributeSet attributeSet) {
|
|
return this.a.d.onCreateView(view, str, context, attributeSet);
|
|
}
|
|
|
|
public boolean b(MenuItem menuItem) {
|
|
return this.a.d.b(menuItem);
|
|
}
|
|
|
|
public void a(Parcelable parcelable, FragmentManagerNonConfig fragmentManagerNonConfig) {
|
|
this.a.d.a(parcelable, fragmentManagerNonConfig);
|
|
}
|
|
|
|
public void a() {
|
|
this.a.d.f();
|
|
}
|
|
|
|
public void a(boolean z) {
|
|
this.a.d.a(z);
|
|
}
|
|
|
|
public void a(Configuration configuration) {
|
|
this.a.d.a(configuration);
|
|
}
|
|
|
|
public boolean a(Menu menu, MenuInflater menuInflater) {
|
|
return this.a.d.a(menu, menuInflater);
|
|
}
|
|
|
|
public boolean a(MenuItem menuItem) {
|
|
return this.a.d.a(menuItem);
|
|
}
|
|
|
|
public void a(Menu menu) {
|
|
this.a.d.a(menu);
|
|
}
|
|
}
|