R- The type of resource that needs to be animated into the target.
public interface GlideAnimationFactory<R>
GlideAnimations based on the state of the request.
GlideAnimation<R> build(boolean isFromMemoryCache, boolean isFirstResource)
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.