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.yandex.disk.rest.example.ListExampleLoader.java

public class ListExampleLoader extends AsyncTaskLoader<List<ListItem>> {

    private static String TAG = "ListExampleLoader";

    private Credentials credentials;
    private String dir;

From source file com.appjma.appdeployer.adapter.DownloadLoader.java

public class DownloadLoader extends AsyncTaskLoader<Map<String, DownloadLoader.DownloadItem>> {

    public static class DownloadItem {

        public final String mId;
        public final int mStatus;

From source file com.projectsexception.util.GenericSimpleLoader.java

/**
 * A generic {@link AsyncTaskLoader} loading any {@link List} or single object
 * of things (beware for e.g. Cursors you need to override onReleaseResources in
 * a meaningful way). It takes care of delivering and reseting results, so you
 * only have to implement <code>loadInBackground()</code>.
 */

From source file com.uphyca.android.observable.v4.ObservableListLoader.java

/**
 * Abstract Loader that provides an ObservableList.
 * 
 * @author Sosuke Masui (masui@uphyca.com)
 */
public abstract class ObservableListLoader<T> extends AsyncTaskLoader<ObservableList<T>> {

From source file com.yahoo.mobile.client.android.yodel.utils.PostDataLoader.java

public class PostDataLoader extends AsyncTaskLoader<List<Post>> {

    private List<Post> mPostsCache;
    private final String mTagQuery;

    public PostDataLoader(Context context) {

From source file com.sababado.support.v4.content.StringPreferencesLoader.java

/**
 * This loader will monitor shared preferences and call back once data has changed under the specified key.
 * The key is defined in the constructor.
 *
 * @see com.sababado.support.v4.content.StringPreferencesLoader#StringPreferencesLoader(android.content.Context, String)
 */

From source file com.commonsware.cwac.loaderex.acl.SharedPreferencesLoader.java

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

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

From source file com.music.fms.utils.FileLoader.java

/**
 * Loader that returns a list of Files in a given file path.
 *
 * @author paulburke (ipaulpro)
 * @version 2012-10-28
 */

From source file org.onebusaway.android.region.ObaRegionsLoader.java

public class ObaRegionsLoader extends AsyncTaskLoader<ArrayList<ObaRegion>> {
    //private static final String TAG = "ObaRegionsLoader";

    private Context mContext;

    private ArrayList<ObaRegion> mResults;

From source file augsburg.se.alltagsguide.utilities.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
 *