java.lang.Object | ||
↳ | com.facebook.datasource.BaseDataSubscriber<T> | |
↳ | com.facebook.imagepipeline.datasource.BaseListBitmapDataSubscriber |
Implementation of DataSubscriber
for cases where the client wants to access a list of
bitmaps.
Sample usage:
dataSource.subscribe(
new BaseListBitmapDataSubscriber() {
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
BaseListBitmapDataSubscriber() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void | onNewResultImpl(DataSource<List<CloseableReference<CloseableImage>>> dataSource) |
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
onNewResultListImpl(List<Bitmap> bitmapList)
The bitmap list provided to this method is only guaranteed to be around for the lifespan of the
method.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.facebook.datasource.BaseDataSubscriber
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.facebook.datasource.DataSubscriber
|
The bitmap list provided to this method is only guaranteed to be around for the lifespan of the method. This list can be null or the elements in it can be null.
The framework will free the bitmaps in the list from memory after this method has completed.