public GlideBuilder setMemoryCache(MemoryCache memoryCache) {
        this.memoryCache = memoryCache;
        return this;
    }
Sets the {@link MemoryCache} implementation to store
{@link com.bumptech.glide.load.engine.Resource}s that are not currently in use.

@param memoryCache  The cache to use.
@return This builder.
core/src/main/java/com/bumptech/glide/GlideBuilder.java