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 com.jams.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 

From source file com.jelly.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 

From source file com.aniruddhc.acemusic.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 

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

public class ArtistsLoader extends AsyncTaskLoader<ArtistsLoader.ArtistsResult> {

    public enum ArtistsError {
        NO_ERROR, PLAYER_INACTIVE_ERROR, SERVER_ERROR, AUTHENTICATION_ERROR, NO_LONGER_IN_PLAYER_ERROR, KICKED_ERROR
    };

From source file org.sufficientlysecure.keychain.remote.ui.dialog.KeyLoader.java

public class KeyLoader extends AsyncTaskLoader<List<KeyInfo>> {
    // These are the rows that we will retrieve.
    private String[] QUERY_PROJECTION = new String[] { KeyRings._ID, KeyRings.MASTER_KEY_ID, KeyRings.CREATION,
            KeyRings.HAS_ENCRYPT, KeyRings.HAS_AUTHENTICATE, KeyRings.HAS_ANY_SECRET, KeyRings.VERIFIED,
            KeyRings.NAME, KeyRings.EMAIL, KeyRings.COMMENT, KeyRings.IS_EXPIRED, KeyRings.IS_REVOKED, };
    private static final int INDEX_MASTER_KEY_ID = 1;

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

public abstract class MusicSearchLoader extends AsyncTaskLoader<MusicSearchLoader.MusicSearchResult> {

    public enum MusicSearchError {
        NO_ERROR, PLAYER_INACTIVE_ERROR, NO_SEARCH_ERROR, SERVER_ERROR, AUTHENTICATION_ERROR, NO_LONGER_IN_PLAYER_ERROR, KICKED_ERROR
    };

From source file com.aleksandarilic.parse.ParseQueryLoader.java

/**
 * A loader that loads {@link com.parse.ParseObject}s from a {@link ParseQuery}
 * supplied to this loader and returns the result as a {@link java.util.List}.
 * <p/>
 * This class implements the {@link android.content.Loader} protocol in a standard way,
 * building on {@link android.content.AsyncTaskLoader} to perform the ParseQuery on a

From source file org.mariotaku.twidere.loader.Twitter4JActivitiesLoader.java

public abstract class Twitter4JActivitiesLoader extends AsyncTaskLoader<List<Activity>> implements Constants {

    private final Twitter mTwitter;
    private final long mAccountId;
    private final List<Activity> mData;
    private final boolean mIsFirstLoad, mIsHomeTab;

From source file com.abcvoipsip.ui.favorites.FavLoader.java

public class FavLoader extends AsyncTaskLoader<Cursor> {

    private Cursor currentResult;

    public FavLoader(Context context) {
        super(context);

From source file org.apps8os.logger.android.storage.AbstractCursorLoader.java

public abstract class AbstractCursorLoader extends AsyncTaskLoader<Cursor> {

    private final String TAG = AbstractCursorLoader.class.getSimpleName();

    private Observer mObserver = null;
    private Cursor mData = null;