All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.bumptech.glide.provider.LoadProvider Maven / Gradle / Ivy

Go to download

A fast and efficient image loading library for Android focused on smooth scrolling.

There is a newer version: 5.0.0-rc01
Show newest version
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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy