docs/javadoc/reference/com/facebook/datasource/BaseBooleanSubscriber.html
|
|
Summary: Ctors | Methods | Protected Methods | Inherited Methods | [Expand All]
public abstract class
extends Object
implements DataSubscriber<T>
| java.lang.Object | | ↳ | com.facebook.datasource.BaseBooleanSubscriber |
Base implementation of DataSubscriber that ensures that the data source is closed when the subscriber has finished with it.
Sample usage:
imagePipeline.isInDiskCache(
uri,
new BaseBooleanSubscriber() {
public void onNewResultImpl(boolean isFound) {
// caller's code here
}
});
| Public Constructors |
|---|
| Public Methods |
|---|
| void |
| void |
| void |
| void |
| Protected Methods |
|---|
| abstract void |
| abstract void |
| [Expand] Inherited Methods | | --- | | From class java.lang.Object
| Object | clone() | | boolean | equals(Object arg0) | | void | finalize() | | final Class<?> | getClass() | | int | hashCode() | | final void | notify() | | final void | notifyAll() | | String | toString() | | final void | wait(long arg0, int arg1) | | final void | wait(long arg0) | | final void | wait() |
| | From interface com.facebook.datasource.DataSubscriber
| abstract void | onCancellation(DataSource<T> dataSource) Called whenever the request is cancelled (a request being cancelled means that is was closed before it finished). | | abstract void | onFailure(DataSource<T> dataSource) Called whenever an error occurs inside of the pipeline. | | abstract void | onNewResult(DataSource<T> dataSource) Called whenever a new value is ready to be retrieved from the DataSource. | | abstract void | onProgressUpdate(DataSource<T> dataSource) Called when the progress updates. |
|
+Generated by Doclava. +