setBitmapDecoderClass

public final void setBitmapDecoderClass(Class<? extends ImageDecoder> bitmapDecoderClass)

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. Your class must have a public default constructor.

Parameters

bitmapDecoderClass

The ImageDecoder implementation to use.