com.bumptech.glide.loader.transformation
Class None<T>

java.lang.Object
  extended by com.bumptech.glide.loader.transformation.None<T>
Type Parameters:
T - The model type, can be anything since the Transformation is type agnostic
All Implemented Interfaces:
TransformationLoader<T>

public class None<T>
extends java.lang.Object
implements TransformationLoader<T>

A loader that will always return a noop Transformation that does not change a bitmap.


Constructor Summary
None()
           
 
Method Summary
 java.lang.String getId()
          Get a unique identifier for this TransformationLoader.
 Transformation getTransformation(T model)
          Get the Transformation for the model
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

None

public None()
Method Detail

getTransformation

public Transformation getTransformation(T model)
Description copied from interface: TransformationLoader
Get the Transformation for the model

Specified by:
getTransformation in interface TransformationLoader<T>
Parameters:
model - The model
Returns:
A new or static (if the transformation is type/model agnostic) Transformation

getId

public java.lang.String getId()
Description copied from interface: TransformationLoader
Get a unique identifier for this TransformationLoader.

Specified by:
getId in interface TransformationLoader<T>
Returns:
A unique String identifier