public class

MultiUri

extends Object
java.lang.Object
   ↳ com.facebook.imagepipeline.multiuri.MultiUri

Class Overview

Data class to enable using functionality of IncreasingQualityDataSourceSupplier and/or FirstAvailableDataSourceSupplier with Vito

Summary

Nested Classes
class MultiUri.Builder  
Public Methods
static MultiUri.Builder create()
static DataSource<CloseableReference<CloseableImage>> getImageRequestDataSource(ImagePipeline imagePipeline, ImageRequest imageRequest, Object callerContext, RequestListener requestListener, String uiComponentId)
ImageRequest getLowResImageRequest()
ImageRequest[] getMultiImageRequests()
static Supplier<DataSource<CloseableReference<CloseableImage>>> getMultiUriDatasource(ImagePipeline imagePipeline, ImageRequest lowResImageRequest, ImageRequest mainImageRequest, Object callerContext)
Convenience method for creating a low res preview + main request datasource supplier
static Supplier<DataSource<CloseableReference<CloseableImage>>> getMultiUriDatasourceSupplier(ImagePipeline imagePipeline, MultiUri multiUri, ImageRequest imageRequest, Object callerContext, RequestListener requestListener, String id)
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static MultiUri.Builder create ()

public static DataSource<CloseableReference<CloseableImage>> getImageRequestDataSource (ImagePipeline imagePipeline, ImageRequest imageRequest, Object callerContext, RequestListener requestListener, String uiComponentId)

public ImageRequest getLowResImageRequest ()

public ImageRequest[] getMultiImageRequests ()

public static Supplier<DataSource<CloseableReference<CloseableImage>>> getMultiUriDatasource (ImagePipeline imagePipeline, ImageRequest lowResImageRequest, ImageRequest mainImageRequest, Object callerContext)

Convenience method for creating a low res preview + main request datasource supplier

public static Supplier<DataSource<CloseableReference<CloseableImage>>> getMultiUriDatasourceSupplier (ImagePipeline imagePipeline, MultiUri multiUri, ImageRequest imageRequest, Object callerContext, RequestListener requestListener, String id)