setBitmapDecoderFactory

public final void setBitmapDecoderFactory(DecoderFactory<? extends ImageDecoder> bitmapDecoderFactory)

Swap the default bitmap decoder implementation for one of your own. You must do this before setting the image file or asset, and you cannot use a custom decoder when using layout XML to set an asset name.

Parameters

bitmapDecoderFactory

The DecoderFactory implementation that produces instances.