setResourceDecoderBucketPriorityList
fun setResourceDecoderBucketPriorityList(buckets: List<String>): Registry
Content copied to clipboard
Overrides the default ordering of resource decoder buckets. You may also add custom buckets which are identified as a unique string. Glide will attempt to decode using decoders in the highest priority bucket before moving on to the next one.
The default order is [BUCKET_ANIMATION, BUCKET_BITMAP, BUCKET_BITMAP_DRAWABLE].
When registering decoders, you can use these buckets to specify the ordering relative only to other decoders in that bucket.
See also
Parameters
buckets
The list of bucket identifiers in order from highest priority to least priority.