java.lang.Object | ||
↳ | com.facebook.datasource.AbstractDataSource<T> | |
↳ | com.facebook.imagepipeline.datasource.AbstractProducerToDataSourceAdapter<T> |
![]() |
DataSource
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
AbstractProducerToDataSourceAdapter(Producer<T> producer, SettableProducerContext settableProducerContext, RequestListener2 requestListener) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean |
close()
Cancels the ongoing request and releases all associated resources.
| ||||||||||
ImageRequest | getImageRequest() |
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void | onNewResultImpl(T result, int status) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Cancels the ongoing request and releases all associated resources.
Subsequent calls to getResult()
will return null.