T - The type of the model.public final class RequestManager.ImageModelRequest<T> extends Object
ModelLoaders that translate models to
InputStream resources for loading images.| Modifier and Type | Method and Description |
|---|---|
DrawableTypeRequest<T> |
from(Class<T> modelClass)
Returns a request builder that uses the provided
ModelLoader to load
images from an InputStreams obtained from models of the given model class. |
DrawableTypeRequest<T> |
load(T model)
Returns a request builder that uses the provided
ModelLoader to load
an image from an InputStream obtained from the given model. |
public DrawableTypeRequest<T> from(Class<T> modelClass)
ModelLoader to load
images from an InputStreams obtained from models of the given model class.modelClass - The class of model to load images from.public DrawableTypeRequest<T> load(T model)
ModelLoader to load
an image from an InputStream obtained from the given model.model - The model to load an image from.from(Class)