setDiskCacheExecutor

open fun setDiskCacheExecutor(service: GlideExecutor): GlideBuilder

Sets the GlideExecutor to use when retrieving s that are currently in Glide's disk caches.

Defaults to a single thread which is usually the best combination of memory usage, jank, and performance, even on high end devices.

Use the newDiskCacheExecutor if you'd like to specify options for the disk cache executor.

Return

This builder.

See also

Parameters

service

The GlideExecutor to use.