Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements #59

Merged
merged 13 commits into from Dec 12, 2018
Merged

Improvements #59

merged 13 commits into from Dec 12, 2018

Conversation

natario1
Copy link
Owner

@natario1 natario1 commented Oct 30, 2018

  • Migrates to androidx
  • Updates dependencies
  • New class: ZoomEngine.SimpleListener, which passes pan and zoom values instead of a Matrix
  • New API: ZoomEngine.addListener and ZoomEngine.removeListener. Deprecated the single listener constructor
  • Moved scrollbar APIs to the engine for custom views
  • Improvements in ZoomImageView to support shared element transitions
  • New API: setAnimationDuration lets you choose the duration of animations
  • New API: setContentSize(float, float) and setContentSize(float, float, boolean). In the second case, you can choose to reapply the base transformation. Deprecated the RectF version.
  • New API: setContainerSize(float, float) and setContainerSize(float, float, boolean). Usually you won't need to call them because we get the container size from a OnGlobalLayout listener, but sometimes you might want to update this programmatically.
  • Bump version to 1.4.0

@natario1 natario1 mentioned this pull request Nov 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant