-
- All Implemented Interfaces:
-
com.pdfview.subsamplincscaleimageview.decoder.DecoderFactory
public class CompatDecoderFactory<T> implements DecoderFactory<T>
Compatibility factory to instantiate decoders with empty public constructors.
-
-
Constructor Summary
Constructors Constructor Description CompatDecoderFactory(Class<out T> clazz)Construct a factory for the given class. CompatDecoderFactory(Class<out T> clazz, Bitmap.Config bitmapConfig)Construct a factory for the given class.
-
Method Summary
-
-
Constructor Detail
-
CompatDecoderFactory
CompatDecoderFactory(Class<out T> clazz)
Construct a factory for the given class.- Parameters:
clazz- a class that implements ImageDecoder or ImageRegionDecoder.
-
CompatDecoderFactory
CompatDecoderFactory(Class<out T> clazz, Bitmap.Config bitmapConfig)
Construct a factory for the given class.- Parameters:
clazz- a class that implements ImageDecoder or ImageRegionDecoder.bitmapConfig- bitmap configuration to be used when loading images.
-
-
-
-