New changes
- Support for Coil 3 (
me.saket.telephoto:zoomable-image-coil3:{version}
) - Added state restoration of zoom & pan values across orientation changes
- Zoom & pan transformations now render synchronously instead of lagging behind by a frame, eliminating flicker during layout size changes
- Added ZoomableImageState#isImageDisplayedInFullQuality
- Added new APIs for custom
ZoomableImageSource
implementations:
Bug fixes
- #95: Removed explicit recycling of bitmap decoders
- #97: Added protection against
NaN
velocities - #99: Added handling for non-existent content URIs to prevent crashes
- #110: Added workaround for a Compose UI issue with unknown color spaces
ZoomableImage()
will now display itscontentDescription
even if the image isn't loaded yet- Content alignment can now be updated even if the image is zoomed in
- Prevented multiple buffering of
SubSamplingImageSource.rawSource()
Deprecations
ZoomableContentLocation#size()
is no longer usedSubSamplingImageState#isImageLoaded
→isImageDisplayed
SubSamplingImageState#isImageLoadedInFullQuality
→isImageDisplayedInFullQuality
ZoomableState#setContentLocation()
→setContentLocationSynchronously()