subsampling-scale-image-view v3.10.0 Release NotesRelease Date: 2018-03-15 // about 2 years ago
This release contains breaking changes for Kotlin apps.
NonNullannotations have been added. Kotlin did not recognise some method returns as nullable, so uses of these methods without a null check will no longer compile.
Previous changes from v3.9.0
This release contains breaking changes. If you use a custom ImageRegionDecoder, changes may be required to make it thread safe. For full details see the migration guide.
These changes are discussed on #120.
setParallelLoadingEnabledwith an option to supply a custom executor -
AsyncTask.THREAD_POOL_EXECUTORthe default, to reduce contention with other background tasks.
- ✂ Removed synchronization of
ImageRegionDecoder.decodeRegioncalls to allow for parallel decoding by decoders that support it.
- Tiles are now loaded during gestures and animations instead of waiting until they end. This can be disabled with
- ➕ Added experimental class
SkiaPooledImageRegionDecoderwhich maintains a small pool of
BitmapRegionDecoderinstances to allow for parallel decoding when combined with a multi-threaded executor.