Skip to content

Preview images, combined classes, event listener, region

Compare
Choose a tag to compare
@davemorrissey davemorrissey released this 08 Mar 21:59
· 214 commits to master since this release

This release includes breaking changes. Migrating activities and subclasses to the new version is simple, please see the notes in the README.

  • Combined ScaleImageView and SubsamplingScaleImageView into one class. Tiling can be enabled or disabled as appropriate. SubsamplingScaleImageView can now display a bitmap.
  • Refactored ready events. When onReady is called, the view is ready to display an image (in previous versions this only indicated the source dimensions were known).
  • Simplified method of specifying the source image, reducing the proliferation of setImage... methods.
  • #37 Allow use of a preview image from resources, assets, filesystem or bitmap to enable gestures while a large full size image is loading.
  • #46 Display a specified region of the source file.
  • #40 Listener interface can be used to receive load errors and ready events.
  • #41 No objects allocated in onDraw or onTouchEvent to improve efficiency.
  • Fixed a bug with tile sizes that resulted in the last few pixels of some images being cropped.
  • Fixed a bug with double tap zoom not respecting disabled pan.
  • Fixed incorrect requested centre point after size change.