Example usage for android.content Loader subclass-usage

List of usage examples for android.content Loader subclass-usage

Introduction

In this page you can find the example usage for android.content Loader subclass-usage.

Usage

From source file com.android.contacts.util.concurrent.ListenableFutureLoader.java

/**
 * Wraps a ListenableFuture for integration with {@link android.app.LoaderManager}
 *
 * <p>Using a loader ensures that the result is delivered while the receiving component (activity
 * or fragment) is resumed and also prevents leaking references these components
 * </p>

From source file com.eutectoid.dosomething.picker.GraphObjectPagingLoader.java

class GraphObjectPagingLoader extends Loader<GraphObjectCursor> {
    private GraphRequest originalRequest;
    private GraphRequest currentRequest;
    private GraphRequest nextRequest;
    private OnErrorListener onErrorListener;
    private GraphObjectCursor cursor;

From source file com.ryan.sample.FMAsyncTaskLoader.java

/**
 * Abstract Loader that provides an {@link AsyncTask} to do the work.  See
 * {@link Loader} and {@link android.app.LoaderManager} for more details.
 *
 * <p>Here is an example implementation of an AsyncTaskLoader subclass that
 * loads the currently installed applications from the package manager.  This