@Override
        public Animation build() {
            return animation;
        }
Returns a new {@link GlideAnimation} for the given arguments. If
isFromMemoryCache is {@code true} or isFirstImage is {@code false}, returns a
{@link NoAnimation} and otherwise returns a new
{@link ViewAnimation}.

@param isFromMemoryCache {@inheritDoc}
@param isFirstResource   {@inheritDoc}
core/src/main/java/com/bumptech/glide/request/animation/ViewAnimationFactory.java