@Override
    public GlideAnimation<R> build(boolean isFromMemoryCache, boolean isFirstResource) {
        if (isFromMemoryCache || !isFirstResource) {
            return NoAnimation.get();
        }
        if (animation == null) {
            animation = new ViewPropertyAnimation<R>(animator);
        }

        return animation;
    }
Returns a new {@link GlideAnimation} for the given arguments. If
isMemoryCache is {@code true} or isFirstImage is {@code false}, returns a
{@link NoAnimation} and otherwise returns a new
{@link ViewPropertyAnimation} for the
{@link ViewPropertyAnimation.Animator} provided in the constructor.
core/src/main/java/com/bumptech/glide/request/animation/ViewPropertyAnimationFactory.java