com.bumptech.glide
Class RequestManager.GenericModelRequest.GenericTypeRequest

java.lang.Object
  extended by com.bumptech.glide.RequestManager.GenericModelRequest.GenericTypeRequest
Enclosing class:
RequestManager.GenericModelRequest<A,T>

public final class RequestManager.GenericModelRequest.GenericTypeRequest
extends Object

A helper class for building requests with custom ModelLoaders that requires the user to specify a specific resource class that will be loaded.


Method Summary
<Z> GenericTranscodeRequest<A,T,Z>
as(Class<Z> resourceClass)
          Sets the resource class that will be loaded.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

as

public <Z> GenericTranscodeRequest<A,T,Z> as(Class<Z> resourceClass)
Sets the resource class that will be loaded.

Type Parameters:
Z - The type of the resource that will be loaded.
Parameters:
resourceClass - The class of the resource that will be loaded.
Returns:
This request builder.