com.bumptech.glide.request.animation
Class NoAnimation.NoAnimationFactory<R>
java.lang.Object
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
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoAnimation.NoAnimationFactory
public NoAnimation.NoAnimationFactory()
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.