|
AeroGear Android Library 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectandroid.content.Loader<D>
android.content.AsyncTaskLoader<T>
org.jboss.aerogear.android.impl.pipeline.loader.AbstractPipeLoader<List<T>>
org.jboss.aerogear.android.impl.pipeline.loader.ReadLoader<T>
public class ReadLoader<T>
This class performs a read operation on behalf of a Pipe using the Loader infrastructure. As a Loader it will retain a reference it its result until reset() is called.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class android.content.Loader |
|---|
android.content.Loader.ForceLoadContentObserver, android.content.Loader.OnLoadCompleteListener<D> |
| Field Summary |
|---|
| Fields inherited from class org.jboss.aerogear.android.impl.pipeline.loader.AbstractPipeLoader |
|---|
exception |
| Constructor Summary | |
|---|---|
ReadLoader(android.content.Context context,
Callback<List<T>> callback,
PipeHandler<T> runner,
ReadFilter filter,
Pipe<T> pipe)
|
|
| Method Summary | |
|---|---|
List<T> |
loadInBackground()
|
protected void |
onReset()
|
protected void |
onStartLoading()
|
| Methods inherited from class org.jboss.aerogear.android.impl.pipeline.loader.AbstractPipeLoader |
|---|
getCallback, getException, hasException |
| Methods inherited from class android.content.AsyncTaskLoader |
|---|
cancelLoad, dump, onCanceled, onForceLoad, onLoadInBackground, setUpdateThrottle |
| Methods inherited from class android.content.Loader |
|---|
abandon, dataToString, deliverResult, forceLoad, getContext, getId, isAbandoned, isReset, isStarted, onAbandon, onContentChanged, onStopLoading, registerListener, reset, startLoading, stopLoading, takeContentChanged, toString, unregisterListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ReadLoader(android.content.Context context,
Callback<List<T>> callback,
PipeHandler<T> runner,
ReadFilter filter,
Pipe<T> pipe)
| Method Detail |
|---|
public List<T> loadInBackground()
loadInBackground in class android.content.AsyncTaskLoader<List<T>>protected void onStartLoading()
onStartLoading in class android.content.Loader<List<T>>protected void onReset()
onReset in class AbstractPipeLoader<List<T>>
|
AeroGear Android Library 1.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||