List of usage examples for android.support.v4.content AsyncTaskLoader subclass-usage
From source file com.commonsware.android.arXiv.arXivLoader.java
public abstract class arXivLoader extends AsyncTaskLoader<List<ArticleList.Item>> { public arXivLoader(Context context) { super(context); } abstract public int getTotalCount();
From source file pt.up.mobile.loaders.PrintingQuotaLoader.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 com.example.iotalk.ObjectCursorLoader.java
/** * A copy of the framework's {@link android.content.CursorLoader} class. Copied because * CursorLoader is not parameterized, and we want to parameterize over the underlying cursor type. * @param <T> */ public class ObjectCursorLoader<T> extends AsyncTaskLoader<ObjectCursor<T>> {
From source file com.udacity.devrel.training.conference.android.ConferenceLoader.java
public class ConferenceLoader extends AsyncTaskLoader<List<DecoratedConference>> { private static final String TAG = "ConferenceLoader"; private Exception mException; public ConferenceLoader(Context context) {
From source file it.geosolutions.android.map.overlay.switcher.LayerListLoader.java
/** * <AsyncTaskLoader> that load layers from a <LayerProvider> * @author Lorenzo Natali (lorenzo.natali@geo-solutions.it) * */ public class LayerListLoader extends AsyncTaskLoader<List<Layer>> {
From source file pt.up.mobile.loaders.TeachingServiceLoader.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 org.thialfihar.android.apg.ui.adapter.ImportKeysListServerLoader.java
public class ImportKeysListServerLoader extends AsyncTaskLoader<AsyncTaskResultWrapper<ArrayList<ImportKeysListEntry>>> { private Context mContext; private String mServerQuery; private String mKeyServer;
From source file com.google.android.apps.santatracker.data.SqliteCursorLoader.java
/**
* A loader that queries the {@link DestinationDbHelper} and returns a
* {@link Cursor}. This class implements the {@link Loader} protocol in a
* standard way for querying cursors, building on {@link AsyncTaskLoader} to
* perform the cursor query on a background thread so that it does not block the
* application's UI.
From source file com.hotmart.dragonfly.ui.LastDateLoader.java
public class LastDateLoader extends AsyncTaskLoader<CheckLastVO> { private boolean mIsLoading; private boolean mHasError; private static final String TAG = LastDateLoader.class.getSimpleName();
From source file de.grobox.liberario.departures.DeparturesLoader.java
public class DeparturesLoader extends AsyncTaskLoader<QueryDeparturesResult> { private final static String TAG = DeparturesLoader.class.getName(); private final static String STATION_ID = "stationId"; private final static String MAX_DEPARTURES = "maxDepartures";