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.omniburst.winetv.android.browser.VideoItemLoader.java

public class VideoItemLoader extends AsyncTaskLoader<List<MediaInfo>> {

    private static final String TAG = "VideoItemLoader";
    private final String mUrl;

    public VideoItemLoader(Context context, String url) {

From source file com.flyn.smartandroid.ui.interfaces.AsyncLoader.java

/**
 * Loader which extends AsyncTaskLoaders and handles caveats as pointed out in
 * http://code.google.com/p/android/issues/detail?id=14944.
 * <p/>
 * Based on CursorLoader.java in the Fragment compatibility package
 *

From source file com.github.riotopsys.malforandroid2.loader.DBLoader.java

public abstract class DBLoader<D> extends AsyncTaskLoader<D> {

    private DatabaseHelper databaseHelper;

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

From source file de.dala.simplenews.database.SimpleCursorLoader.java

/**
 * 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 com.pcpsoftware.tipped.SimpleCursorLoader.java

/**
 * 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 jp.senchan.lib.content.SimpleCursorLoader.java

/**
 * 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 com.google.sample.cast.refplayer.browser.VideoItemLoader.java

/**
 * An {@link AsyncTaskLoader} that loads the list of videos in the background.
 */
public class VideoItemLoader extends AsyncTaskLoader<List<MediaInfo>> {

    private static final String TAG = "VideoItemLoader";

From source file org.biu.ufo.ui.utils.SimpleCursorLoader.java

/**
 * 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 bundle.android.utils.SharedPreferencesLoader.java

public class SharedPreferencesLoader extends AsyncTaskLoader<SharedPreferences> {
    private SharedPreferences prefs = null;

    public static void persist(final SharedPreferences.Editor editor) {
        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.GINGERBREAD) {
            editor.apply();

From source file mobisocial.musubi.util.SimpleCursorLoader.java

/**
 * 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.
 *