register
open fun <Z, R> register( decodedClass: Class<Z>, transcodedClass: Class<R>, transcoder: ResourceTranscoder<Z, R>)
Content copied to clipboard
Registers the given com.bumptech.glide.load.resource.transcode.ResourceTranscoder using the given classes so it can later be retrieved using the given classes.
Parameters
decodedClass
The class of the resource that the transcoder transcodes from.
transcodedClass
The class of the resource that the transcoder transcodes to.
transcoder
The transcoder.
<Z>
The type of the resource that the transcoder transcodes from.
<R>
The type of the resource that the transcoder transcodes to.