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 net.meiolania.apps.habrahabr.fragments.posts.loader.PostShowLoader.java

public class PostShowLoader extends AsyncTaskLoader<PostsFullData> {
    private String url;
    private Context context;

    public PostShowLoader(Context context, String url) {
        super(context);

From source file org.gnucash.android.db.DatabaseCursorLoader.java

/**
 * Abstract base class for asynchronously loads records from a database and manages the cursor.
 * In order to use this class, you must subclass it and implement the
 * {@link #loadInBackground()} method to load the particular records from the database.
 * Ideally, the database has {@link DatabaseAdapter} which is used for managing access to the 
 * records from the database

From source file com.github.mkjensen.dml.backend.loader.BackendLoader.java

/**
 * Superclass for convenient loading of backend data.
 */
public abstract class BackendLoader<T> extends AsyncTaskLoader<T> {

    private static final String TAG = "BackendLoader";

From source file com.packpublishing.asynchronousandroid.chapter9.GrayImageLoader.java

public class GrayImageLoader extends AsyncTaskLoader<Result<Bitmap>> {

    static {
        System.loadLibrary("c++_shared");
        System.loadLibrary("mylib");
    }

From source file com.mjaworski.myQuotes.Utils.AbstractCursorLoader.java

abstract public class AbstractCursorLoader extends AsyncTaskLoader<Cursor> {
    abstract protected Cursor buildCursor();

    Cursor lastCursor = null;

    public AbstractCursorLoader(Context context) {

From source file net.yadiary.android.sample.yamaneko.WebServiceAsyncTaskLoader.java

public class WebServiceAsyncTaskLoader extends AsyncTaskLoader<Void> {

    private String qid = "";

    public void setQid(String qid) {
        this.qid = qid;

From source file com.miz.functions.AbstractCursorLoader.java

abstract public class AbstractCursorLoader extends AsyncTaskLoader<Cursor> {
    abstract protected Cursor buildCursor();

    Cursor lastCursor = null;

    public AbstractCursorLoader(Context context) {

From source file com.example.android.architecture.blueprints.todoapp.data.source.TaskLoader.java

/**
 * Custom {@link android.content.Loader} for a {@link Task}, using the
 * {@link TasksRepository} as its source. This Loader is a {@link AsyncTaskLoader} so it queries
 * the data asynchronously.
 */
public class TaskLoader extends AsyncTaskLoader<Task> implements TasksRepository.TasksRepositoryObserver {

From source file com.example.radr.backend.util.ListLoader.java

/**
* @author Cristian <cristian@elhacker.net>
*/
public abstract class ListLoader<T> extends AsyncTaskLoader<List<T>> {
    private List<T> mList;

From source file com.mobeta.android.demodslv.AbstractCursorLoader.java

abstract public class AbstractCursorLoader extends AsyncTaskLoader<Cursor> {
    abstract protected Cursor buildCursor();

    Cursor lastCursor = null;

    public AbstractCursorLoader(Context context) {