public class ScItemsLoader extends android.content.AsyncTaskLoader<java.util.List<ScItem>>
ScItemsProvider
and returns List<ScItem>
.Constructor and Description |
---|
ScItemsLoader(android.content.Context context) |
ScItemsLoader(android.content.Context context,
java.lang.String selection,
java.lang.String[] selectionArgs) |
Modifier and Type | Method and Description |
---|---|
void |
deliverResult(java.util.List<ScItem> data) |
java.util.List<ScItem> |
loadInBackground() |
protected void |
onForceLoad() |
void |
onReset() |
protected void |
onStartLoading() |
cancelLoadInBackground, dump, isLoadInBackgroundCanceled, onCanceled, onCancelLoad, onLoadInBackground, setUpdateThrottle
abandon, cancelLoad, commitContentChanged, dataToString, deliverCancellation, forceLoad, getContext, getId, isAbandoned, isReset, isStarted, onAbandon, onContentChanged, onStopLoading, registerListener, registerOnLoadCanceledListener, reset, rollbackContentChanged, startLoading, stopLoading, takeContentChanged, toString, unregisterListener, unregisterOnLoadCanceledListener
public ScItemsLoader(android.content.Context context)
public ScItemsLoader(android.content.Context context, java.lang.String selection, java.lang.String[] selectionArgs)
public java.util.List<ScItem> loadInBackground()
loadInBackground
in class android.content.AsyncTaskLoader<java.util.List<ScItem>>
public void deliverResult(java.util.List<ScItem> data)
deliverResult
in class android.content.Loader<java.util.List<ScItem>>
protected void onStartLoading()
onStartLoading
in class android.content.Loader<java.util.List<ScItem>>
public void onReset()
onReset
in class android.content.Loader<java.util.List<ScItem>>
protected void onForceLoad()
onForceLoad
in class android.content.AsyncTaskLoader<java.util.List<ScItem>>