mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
46 lines
1.4 KiB
Java
46 lines
1.4 KiB
Java
package androidx.loader.app;
|
|
|
|
import android.os.Bundle;
|
|
import androidx.lifecycle.LifecycleOwner;
|
|
import androidx.lifecycle.ViewModelStoreOwner;
|
|
import androidx.loader.content.Loader;
|
|
import java.io.FileDescriptor;
|
|
import java.io.PrintWriter;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public abstract class LoaderManager {
|
|
|
|
/* loaded from: classes2.dex */
|
|
public interface LoaderCallbacks<D> {
|
|
Loader<D> onCreateLoader(int i, Bundle bundle);
|
|
|
|
void onLoadFinished(Loader<D> loader, D d);
|
|
|
|
void onLoaderReset(Loader<D> loader);
|
|
}
|
|
|
|
public abstract void destroyLoader(int i);
|
|
|
|
@Deprecated
|
|
public abstract void dump(String str, FileDescriptor fileDescriptor, PrintWriter printWriter, String[] strArr);
|
|
|
|
public abstract <D> Loader<D> getLoader(int i);
|
|
|
|
public boolean hasRunningLoaders() {
|
|
return false;
|
|
}
|
|
|
|
public abstract <D> Loader<D> initLoader(int i, Bundle bundle, LoaderCallbacks<D> loaderCallbacks);
|
|
|
|
public abstract void markForRedelivery();
|
|
|
|
public abstract <D> Loader<D> restartLoader(int i, Bundle bundle, LoaderCallbacks<D> loaderCallbacks);
|
|
|
|
public static <T extends LifecycleOwner & ViewModelStoreOwner> LoaderManager getInstance(T t) {
|
|
return new LoaderManagerImpl(t, t.getViewModelStore());
|
|
}
|
|
|
|
public static void enableDebugLogging(boolean z) {
|
|
LoaderManagerImpl.DEBUG = z;
|
|
}
|
|
}
|