blob: 954bb039d51f56c7c591e19a17a4016cc9760185 [file] [log] [blame]
package android.support.v4.app {
public abstract class LoaderManager {
ctor public LoaderManager();
method public abstract void destroyLoader(int);
method public abstract void dump(java.lang.String, java.io.FileDescriptor, java.io.PrintWriter, java.lang.String[]);
method public static void enableDebugLogging(boolean);
method public static <T extends android.arch.lifecycle.LifecycleOwner & android.arch.lifecycle.ViewModelStoreOwner> android.support.v4.app.LoaderManager getInstance(T);
method public abstract <D> android.support.v4.content.Loader<D> getLoader(int);
method public boolean hasRunningLoaders();
method public abstract <D> android.support.v4.content.Loader<D> initLoader(int, android.os.Bundle, android.support.v4.app.LoaderManager.LoaderCallbacks<D>);
method public abstract void markForRedelivery();
method public abstract <D> android.support.v4.content.Loader<D> restartLoader(int, android.os.Bundle, android.support.v4.app.LoaderManager.LoaderCallbacks<D>);
}
public static abstract interface LoaderManager.LoaderCallbacks<D> {
method public abstract android.support.v4.content.Loader<D> onCreateLoader(int, android.os.Bundle);
method public abstract void onLoadFinished(android.support.v4.content.Loader<D>, D);
method public abstract void onLoaderReset(android.support.v4.content.Loader<D>);
}
}
package android.support.v4.content {
public abstract class AsyncTaskLoader<D> extends android.support.v4.content.Loader {
ctor public AsyncTaskLoader(android.content.Context);
method public void cancelLoadInBackground();
method public boolean isLoadInBackgroundCanceled();
method public abstract D loadInBackground();
method public void onCanceled(D);
method protected D onLoadInBackground();
method public void setUpdateThrottle(long);
}
public class CursorLoader extends android.support.v4.content.AsyncTaskLoader {
ctor public CursorLoader(android.content.Context);
ctor public CursorLoader(android.content.Context, android.net.Uri, java.lang.String[], java.lang.String, java.lang.String[], java.lang.String);
method public void deliverResult(android.database.Cursor);
method public java.lang.String[] getProjection();
method public java.lang.String getSelection();
method public java.lang.String[] getSelectionArgs();
method public java.lang.String getSortOrder();
method public android.net.Uri getUri();
method public android.database.Cursor loadInBackground();
method public void onCanceled(android.database.Cursor);
method public void setProjection(java.lang.String[]);
method public void setSelection(java.lang.String);
method public void setSelectionArgs(java.lang.String[]);
method public void setSortOrder(java.lang.String);
method public void setUri(android.net.Uri);
}
public class Loader<D> {
ctor public Loader(android.content.Context);
method public void abandon();
method public boolean cancelLoad();
method public void commitContentChanged();
method public java.lang.String dataToString(D);
method public void deliverCancellation();
method public void deliverResult(D);
method public void dump(java.lang.String, java.io.FileDescriptor, java.io.PrintWriter, java.lang.String[]);
method public void forceLoad();
method public android.content.Context getContext();
method public int getId();
method public boolean isAbandoned();
method public boolean isReset();
method public boolean isStarted();
method protected void onAbandon();
method protected boolean onCancelLoad();
method public void onContentChanged();
method protected void onForceLoad();
method protected void onReset();
method protected void onStartLoading();
method protected void onStopLoading();
method public void registerListener(int, android.support.v4.content.Loader.OnLoadCompleteListener<D>);
method public void registerOnLoadCanceledListener(android.support.v4.content.Loader.OnLoadCanceledListener<D>);
method public void reset();
method public void rollbackContentChanged();
method public final void startLoading();
method public void stopLoading();
method public boolean takeContentChanged();
method public void unregisterListener(android.support.v4.content.Loader.OnLoadCompleteListener<D>);
method public void unregisterOnLoadCanceledListener(android.support.v4.content.Loader.OnLoadCanceledListener<D>);
}
public final class Loader.ForceLoadContentObserver extends android.database.ContentObserver {
ctor public Loader.ForceLoadContentObserver();
}
public static abstract interface Loader.OnLoadCanceledListener<D> {
method public abstract void onLoadCanceled(android.support.v4.content.Loader<D>);
}
public static abstract interface Loader.OnLoadCompleteListener<D> {
method public abstract void onLoadComplete(android.support.v4.content.Loader<D>, D);
}
}