com.bumptech.glide.provider.LoadProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of glide Show documentation
Show all versions of glide Show documentation
A fast and efficient image loading library for Android focused on smooth scrolling.
package com.bumptech.glide.provider;
import com.bumptech.glide.load.model.ModelLoader;
import com.bumptech.glide.load.resource.transcode.ResourceTranscoder;
/**
* An extension of {@link com.bumptech.glide.provider.DataLoadProvider} that also allows a
* {@link com.bumptech.glide.load.model.ModelLoader} and a
* {@link com.bumptech.glide.load.resource.transcode.ResourceTranscoder} to be retrieved.
*
* @param The type of model.
* @param The type of data that will be decoded from.
* @param The type of resource that will be decoded.
* @param The type of resource that the decoded resource will be transcoded to.
*/
public interface LoadProvider extends DataLoadProvider {
/**
* Returns the {@link com.bumptech.glide.load.model.ModelLoader} to convert from the given model to a data type.
*/
ModelLoader getModelLoader();
/**
* Returns the {@link com.bumptech.glide.load.resource.transcode.ResourceTranscoder} to convert from the decoded
* and transformed resource into the transcoded resource.
*/
ResourceTranscoder getTranscoder();
}