public static class NoAnimation.NoAnimationFactory<R> extends Object implements GlideAnimationFactory<R>
NoAnimation
.Constructor and Description |
---|
NoAnimation.NoAnimationFactory() |
Modifier and Type | Method and Description |
---|---|
GlideAnimation<R> |
build(boolean isFromMemoryCache,
boolean isFirstResource)
Returns a new
GlideAnimation . |
public GlideAnimation<R> build(boolean isFromMemoryCache, boolean isFirstResource)
GlideAnimationFactory
GlideAnimation
.build
in interface GlideAnimationFactory<R>
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.