public class

ProducerToDataSourceAdapter

extends AbstractProducerToDataSourceAdapter<T>
java.lang.Object
   ↳ com.facebook.datasource.AbstractDataSource<T>
     ↳ com.facebook.imagepipeline.datasource.AbstractProducerToDataSourceAdapter<T>
       ↳ com.facebook.imagepipeline.datasource.ProducerToDataSourceAdapter<T>

Class Overview

DataSource backed by a Producer

Summary

Public Methods
static <T> DataSource<T> create(Producer<T> producer, SettableProducerContext settableProducerContext, RequestListener2 listener)
[Expand]
Inherited Methods
From class com.facebook.imagepipeline.datasource.AbstractProducerToDataSourceAdapter
From class com.facebook.datasource.AbstractDataSource
From class java.lang.Object
From interface com.facebook.datasource.DataSource
From interface com.facebook.imagepipeline.request.HasImageRequest

Public Methods

public static DataSource<T> create (Producer<T> producer, SettableProducerContext settableProducerContext, RequestListener2 listener)