|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bumptech.glide.RequestManager.GenericModelRequest<A,T>
A
- The type of the model.T
- The type of data the ModelLoader
provides an
DataFetcher
to convert the model to.public final class RequestManager.GenericModelRequest<A,T>
A helper class for building requests with custom ModelLoader
s that requires the user to provide a
specific model.
Nested Class Summary | |
---|---|
class |
RequestManager.GenericModelRequest.GenericTypeRequest
A helper class for building requests with custom ModelLoader s that
requires the user to specify a specific resource class that will be loaded. |
Method Summary | |
---|---|
RequestManager.GenericModelRequest.GenericTypeRequest |
from(Class<A> modelClass)
Sets the type of model that will be loaded. |
RequestManager.GenericModelRequest.GenericTypeRequest |
load(A model)
Sets the specific model that will be loaded. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public RequestManager.GenericModelRequest.GenericTypeRequest from(Class<A> modelClass)
modelClass
- the class of model to use.
public RequestManager.GenericModelRequest.GenericTypeRequest load(A model)
model
- The model to use.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |