Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
subsampling-scale-image-view-3.9.0.aar | 2017-12-02 | 65.5 kB | |
Performance improvements.tar.gz | 2017-12-02 | 9.0 MB | |
Performance improvements.zip | 2017-12-02 | 9.1 MB | |
README.md | 2017-12-02 | 1.0 kB | |
Totals: 4 Items | 18.1 MB | 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].
- Replaced
setParallelLoadingEnabled
with an option to supply a custom executor -setExecutor(Executor)
. - Made
AsyncTask.THREAD_POOL_EXECUTOR
the default, to reduce contention with other background tasks. - Removed synchronization of
ImageRegionDecoder.decodeRegion
calls 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
setEagerLoadingEnabled(false)
- Added experimental class
SkiaPooledImageRegionDecoder
which maintains a small pool ofBitmapRegionDecoder
instances to allow for parallel decoding when combined with a multi-threaded executor.