Example usage for android.support.v4.content AsyncTaskLoader subclass-usage

List of usage examples for android.support.v4.content AsyncTaskLoader subclass-usage

Introduction

In this page you can find the example usage for android.support.v4.content AsyncTaskLoader subclass-usage.

Usage

From source file de.vanita5.twittnuker.loader.support.BaseUserListsLoader.java

public abstract class BaseUserListsLoader extends AsyncTaskLoader<List<ParcelableUserList>> {

    protected final NoDuplicatesArrayList<ParcelableUserList> mData = new NoDuplicatesArrayList<ParcelableUserList>();
    protected final long mAccountId;
    private final long mCursor;

From source file org.klnusbaum.udj.EventsLoader.java

public class EventsLoader extends AsyncTaskLoader<EventsLoader.EventsLoaderResult> {
    public enum EventLoaderError {
        NO_ERROR, NO_CONNECTION, SERVER_ERROR, NO_LOCATION, AUTHENTICATION_ERROR, NO_ACCOUNT
    };

    public static class EventsLoaderResult {

From source file au.com.cybersearch2.classyjpa.entity.LoaderTaskImpl.java

/**
 * LoaderTaskImpl
 * AsyncTaskLoader implementation which executes persistence work
 * @author Andrew Bowley
 * 04/09/2014
 */

From source file com.varungupta.simpletwitterclient.PhotoGallery.PhotoGalleryAsyncLoader.java

/**
 * AsyncTask loader used to load image resources in the background of a fragment.
 * Reference: http://developer.android.com/reference/android/content/AsyncTaskLoader.html
 *
 * Created by Rex St. John (on behalf of AirPair.com) on 3/4/14.
 */

From source file org.wahtod.wififixer.ui.LocalNetworksLoader.java

public class LocalNetworksLoader extends AsyncTaskLoader<List<WFScanResult>> {

    private List<WFScanResult> mScanResults;
    private BroadcastReceiver receiver = new BroadcastReceiver() {
        public void onReceive(Context context, Intent intent) {
            /*

From source file com.example.android.nfcprovisioning.ProvisioningValuesLoader.java

/**
 * Loads default values for NFC provisioning.
 * <p/>
 * This loader first tries to load values from a config file in SD card. Then it fills in missing
 * values using constants and settings on the programming device.
 */

From source file pt.up.mobile.loaders.SubjectsLoader.java

/**
 * Static library support version of the framework's
 * {@link android.content.CursorLoader}. Used to write apps that run on
 * platforms prior to Android 3.0. When running on Android 3.0 or above, this
 * implementation is still used; it does not try to switch to the framework's
 * implementation. See the framework SDK documentation for a class overview.

From source file cn.tangxb.imageselector.PhotoModelTaskLoader.java

/**
 * Static library support version of the framework's {@link android.content.CursorLoader}.
 * Used to write apps that run on platforms prior to Android 3.0.  When running
 * on Android 3.0 or above, this implementation is still used; it does not try
 * to switch to the framework's implementation.  See the framework SDK
 * documentation for a class overview.

From source file de.grobox.liberario.trips.TripsLoader.java

@ParametersAreNonnullByDefault
class TripsLoader extends AsyncTaskLoader<QueryTripsResult> {

    private final String TAG = getClass().getName();

    private final TransportNetworkManager manager;

From source file com.Duo.music.player.DBHelpers.SQLiteDBCursorLoader.java

/*********************************************************************************
 * Custom CursorLoader class that adds support for SQLite databases.
 * The default CursorLoader that's supplied through the Android
 * compatibility library only supports ContentProviders. 
 * 
 * Since this app maintains it's own music library/database and doesn't depend