setAnimationExecutor

open fun setAnimationExecutor(service: GlideExecutor): GlideBuilder

Sets the GlideExecutor to use when loading frames of animated images and particularly of com.bumptech.glide.load.resource.gif.GifDrawables.

Defaults to one or two threads, depending on the number of cores available.

Use the newAnimationExecutor methods if you'd like to specify options for the animation executor.

Return

This builder.

Parameters

service

The GlideExecutor to use.