|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bumptech.glide.RequestManager.ImageModelRequest<T>
T - The type of the model.public final class RequestManager.ImageModelRequest<T>
A helper class for building requests with custom ModelLoaders that translate models to
InputStream resources for loading images.
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
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)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||