com.bumptech.glide.request.animation
Class NoAnimation.NoAnimationFactory<R>

java.lang.Object
  extended by com.bumptech.glide.request.animation.NoAnimation.NoAnimationFactory<R>
All Implemented Interfaces:
GlideAnimationFactory<R>
Enclosing class:
NoAnimation<R>

public static class NoAnimation.NoAnimationFactory<R>
extends Object
implements GlideAnimationFactory<R>

A factory that always returns the same NoAnimation.


Constructor Summary
NoAnimation.NoAnimationFactory()
           
 
Method Summary
 GlideAnimation<R> build(boolean isFromMemoryCache, boolean isFirstResource)
          Returns a new GlideAnimation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoAnimation.NoAnimationFactory

public NoAnimation.NoAnimationFactory()
Method Detail

build

public GlideAnimation<R> build(boolean isFromMemoryCache,
                               boolean isFirstResource)
Description copied from interface: GlideAnimationFactory
Returns a new GlideAnimation.

Specified by:
build in interface GlideAnimationFactory<R>
Parameters:
isFromMemoryCache - True if this will be an animation for a resource that was loaded from the memory cache.
isFirstResource - True if this is the first resource to be loaded into the target.