Releases: alexvasilkov/GestureViews
Releases · alexvasilkov/GestureViews
v2.4.1
Bug fixes:
- Do not zoom to min level if zoom gestures are disabled
- Fixed issue in exit detector (animation state update if image is closed)
- Ensure animation position stays within [0, 1]
v2.4.0
- Min SDK set to 14
- Distributing library as aar
- Added XML attributes to provide settings for gesture views
- Support for standard OnClickListener and OnLongClickListener
- Added CropAreaView with rules support (superseding FinderView which is deprecated now)
- Smooth image replacement (e.g. replace thumbnail with bigger image)
- Exit gesture detection improvements
- Improved cropping logic to prevent empty spaces
- Fixed CircleImageView initialization
v2.3.2
- Taking pivot point into account when animating state changes
- Disallowing parent's touch events interception
v2.3.1
- Smooth clipping animation of invisible image parts.
- Double tap always zooms out to min zoom, not to double tap zoom.
v2.3.0
- Added setDoubleTapZoom(..) settings option.
- Allowing animations from undefined 'from' position.
ViewsTracker
replaced byFromTracker
andIntoTracker
to support cases where there are more than one image per list item.ViewsTransitionBuilder
is deprecated and replaced byGestureTransitions
to provide more options and correct setup flow.- Automatically pre-setting image from source
ImageView
to targetGestureImageView
. - Fixed animation issue if item was removed from
ViewPager
.
Migration notes
ViewsTransitionBuilder
, ViewsTracker
and SimpleViewsTracker
are deprecated.
See migration wiki.
v2.2.0
- Added gesture to exit full mode by scrolling up/down or zooming out.
Added corresponding setting (enabled by default). - Added
CircleImageView
andCircleGestureImageView
to show and animate rounded images. - Added animation duration setting, default duration is changed from 250 to 300 ms.
- Added state source listener (whether image is idle, dragged by user or updated by animation).
- Added debug overlay.
- Better clipping when animating rotated images.
- Fixed fast quick scale issue (image may be flipped).
- Fixed scroll when zoomed out with bounds restrictions disabled.
- Fixed
wrap_content
handling forGestureFrameLayout
.