AeroGear Android Library 1.1.0

org.jboss.aerogear.android.impl.pipeline.loader.support
Class SupportRemoveLoader<T>

java.lang.Object
  extended by android.support.v4.content.Loader<D>
      extended by android.support.v4.content.AsyncTaskLoader<T>
          extended by org.jboss.aerogear.android.impl.pipeline.loader.support.AbstractSupportPipeLoader<T>
              extended by org.jboss.aerogear.android.impl.pipeline.loader.support.SupportRemoveLoader<T>

public class SupportRemoveLoader<T>
extends AbstractSupportPipeLoader<T>

This class performs a remove operation on behalf of a Pipe using the Loader infrastructure. As a Loader it will only call the remove once regardless of how many times it is called unless reset() is called.


Nested Class Summary
 
Nested classes/interfaces inherited from class android.support.v4.content.Loader
android.support.v4.content.Loader.ForceLoadContentObserver, android.support.v4.content.Loader.OnLoadCompleteListener<D>
 
Field Summary
 
Fields inherited from class org.jboss.aerogear.android.impl.pipeline.loader.support.AbstractSupportPipeLoader
exception
 
Constructor Summary
SupportRemoveLoader(android.content.Context context, Callback<T> callback, PipeHandler<T> runner, String id)
           
 
Method Summary
 T loadInBackground()
           
protected  void onStartLoading()
           
 
Methods inherited from class org.jboss.aerogear.android.impl.pipeline.loader.support.AbstractSupportPipeLoader
getCallback, getException, hasException, onReset
 
Methods inherited from class android.support.v4.content.AsyncTaskLoader
cancelLoad, dump, onCanceled, onForceLoad, onLoadInBackground, setUpdateThrottle, waitForLoader
 
Methods inherited from class android.support.v4.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

SupportRemoveLoader

public SupportRemoveLoader(android.content.Context context,
                           Callback<T> callback,
                           PipeHandler<T> runner,
                           String id)
Method Detail

loadInBackground

public T loadInBackground()
Specified by:
loadInBackground in class android.support.v4.content.AsyncTaskLoader<T>

onStartLoading

protected void onStartLoading()
Overrides:
onStartLoading in class android.support.v4.content.Loader<T>

AeroGear Android Library 1.1.0

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.