com.bumptech.glide.provider
Interface LoadProvider<A,T,Z,R>

Type Parameters:
A - The type of model.
T - The type of data that will be decoded from.
Z - The type of resource that will be decoded.
R - The type of resource that the decoded resource will be transcoded to.
All Superinterfaces:
DataLoadProvider<T,Z>
All Known Implementing Classes:
ChildLoadProvider, FixedLoadProvider

public interface LoadProvider<A,T,Z,R>
extends DataLoadProvider<T,Z>

An extension of DataLoadProvider that also allows a ModelLoader and a ResourceTranscoder to be retrieved.


Method Summary
 ModelLoader<A,T> getModelLoader()
          Returns the ModelLoader to convert from the given model to a data type.
 ResourceTranscoder<Z,R> getTranscoder()
          Returns the ResourceTranscoder to convert from the decoded and transformed resource into the transcoded resource.
 
Methods inherited from interface com.bumptech.glide.provider.DataLoadProvider
getCacheDecoder, getEncoder, getSourceDecoder, getSourceEncoder
 

Method Detail

getModelLoader

ModelLoader<A,T> getModelLoader()
Returns the ModelLoader to convert from the given model to a data type.


getTranscoder

ResourceTranscoder<Z,R> getTranscoder()
Returns the ResourceTranscoder to convert from the decoded and transformed resource into the transcoded resource.