Skip to content

v1.4.0

Compare
Choose a tag to compare
@natario1 natario1 released this 12 Dec 12:06
  • Fixes a bug with scrollbars thanks to @markusressel (#35)
  • Fixes the library manifest thanks to @bkhall (#49)
  • Fixes panning after double taps thanks to @Yundin (#56)
  • Fixes canvas transformations for Android <= 6 thanks to @DennisBlock (#62)
  • Updated dependencies (#59)
  • Moved to AndroidX (#59)
  • More nullability annotations to support Kotlin (#59)
  • Added the ZoomEngine.SimpleListener class: it extends ZoomEngine.Listener, but instead of a matrix, provides the zoom and pan values. (#59)
  • Now you can add multiple listeners to ZoomEngine using addListener instead of passing one to the constructor. Old constructor is deprecated. (#59)
  • ZoomEngine.setContentSize(RectF) is deprecated. Please use ZoomEngine.setContentSize(float, float). You can optionally pass a boolean to apply the engine transformation. (#59)
  • ZoomEngine.setContainerSize(float, float) lets you override the view container size. Normally you don't need this because the container size is determined using a layout listener. But sometimes you might. (#59)
  • Added setAnimationDuration API to set the duration of pan/zoom animations (#59)
  • Added friction to overscrolls, which gives a more realistic response. (This is still improvable in many ways.) (#59)
  • Fix an annoying issue when overscrolling, sometimes flings would start in the opposite direction. (#59)
  • Other minor improvements.