Commit Graph

  • 32fb827490 Updated Support v4 Library mareksebera 2013-09-12 22:49:26 +02:00
  • ba4eaea91e Removed deprecated method mareksebera 2013-09-12 19:58:51 +02:00
  • e03e4099de Visibility fixup mareksebera 2013-09-12 19:57:35 +02:00
  • 59c25fd978 Fixing wrong way of getting ImageView, fixing #75 mareksebera 2013-09-12 16:36:01 +02:00
  • fc231027f8 Using PhotoView in Simple Sample, to test interface functions mareksebera 2013-09-12 16:35:22 +02:00
  • d8ab4a8938 added check back, fixing ViewPager example mareksebera 2013-09-12 16:28:46 +02:00
  • a7fab44857 Fixes #62 and #63 (Merge request overriden) mareksebera 2013-09-12 12:58:29 +02:00
  • 0df7a1b044 exception message updated mareksebera 2013-09-12 12:06:54 +02:00
  • 8d1b662b5b Refactoring mareksebera 2013-09-12 11:35:00 +02:00
  • c7bb8adfee Refactoring mareksebera 2013-09-12 11:27:26 +02:00
  • 602959a5c5 Code formatting mareksebera 2013-09-12 11:21:59 +02:00
  • 7e94bdf7b6 Added static import for used constants mareksebera 2013-09-12 11:14:58 +02:00
  • 5951499fb6 sample refactoring mareksebera 2013-09-12 11:07:16 +02:00
  • f2ac62deee Updated Android dependency version for Ant mareksebera 2013-09-12 10:57:17 +02:00
  • 39d784a8e4 Code formatting mareksebera 2013-09-12 10:46:15 +02:00
  • 033f934812 Updated Maven for latest build tools mareksebera 2013-09-12 10:43:05 +02:00
  • 5ce35218b2 Fixed deprecation mareksebera 2013-09-12 10:42:28 +02:00
  • ce14e108b2 Gradle, ignoring build temp files/directories and added build scripts mareksebera 2013-09-11 17:57:03 +02:00
  • 31e970ed0d Returned library build files, fixes #76 mareksebera 2013-09-11 17:56:35 +02:00
  • 68464c72e6 Change getImageView() to log an error rather than throw an exception. Chris Banes 2013-06-01 16:41:30 +01:00
  • a4b7e04801 Don't handle touch event if the ImageView doesn't have a Drawable set. Chris Banes 2013-06-01 16:29:57 +01:00
  • 1bf7e56e5c Merge branch 'dev' of github.com:chrisbanes/PhotoView into dev Chris Banes 2013-06-01 16:08:35 +01:00
  • 8f96de586c Remove resources from library. It is now simply a java dependency, not a library project. Chris Banes 2013-06-01 15:57:34 +01:00
  • 623ba2eb41 the post(Runnable) may remain as a crash in PhotoViewAttacher sometimes occur after the cancel Steve Lhomme 2013-03-25 10:18:01 +01:00
  • a1c497fc0a the posted fling runnable may also be executed when it shouldn't Steve Lhomme 2013-03-18 09:33:51 +01:00
  • c31a43f417 [library] Bit of tidy up to aea36b9aa7 Chris Banes 2013-03-17 13:33:48 +00:00
  • 09ea65005f avoid doing cleanup twice, fixes a crash when null mImageView is called Steve Lhomme 2013-03-15 10:25:57 +01:00
  • f98e331fbe use LogManager so logs can be redirected if needed Steve Lhomme 2013-03-14 12:17:26 +01:00
  • 38e65b1b04 @Override is always a good indication in the code Steve Lhomme 2013-03-14 12:12:25 +01:00
  • 97481eb253 unset listeners on cleanup to avoid events coming asynchronously Steve Lhomme 2013-03-14 12:11:38 +01:00
  • a67c0a5e57 no need for the dummy files to compile Steve Lhomme 2013-03-14 12:10:39 +01:00
  • b199c44d21 don't keep the ViewObserver as it may not be alive when we need to remove our view (otherwise it crashes when the PhotoView is in a Fragment in a ViewPager and the page is no longer kept) Steve Lhomme 2013-03-12 15:14:00 +01:00
  • 1a288df269 Remove use of zoomTo, and enforce scale bounds on setScale Chris Banes 2013-02-10 09:40:51 +00:00
  • 8a0d805a05 New setScale() method with various options. Deprecates the zoomTo() method. Chris Banes 2013-02-10 09:36:44 +00:00
  • a7406a6421 [maven-release-plugin] prepare for next development iteration Chris Banes 2013-02-07 08:09:29 +00:00
  • 07f868b6b0 Merge pull request #42 from levelup/lu_pull Chris Banes 2013-06-01 07:59:46 -07:00
  • 9f42be21ed Remove resources from library. It is now simply a java dependency, not a library project. Chris Banes 2013-06-01 15:57:34 +01:00
  • 731a37a224 the post(Runnable) may remain as a crash in PhotoViewAttacher sometimes occur after the cancel Steve Lhomme 2013-03-25 10:18:01 +01:00
  • 03d44d93d0 the posted fling runnable may also be executed when it shouldn't Steve Lhomme 2013-03-18 09:33:51 +01:00
  • 5ffef295c1 [library] Bit of tidy up to aea36b9aa7 Chris Banes 2013-03-17 13:33:48 +00:00
  • 72aed62831 Merge pull request #37 from levelup/lu_dev Chris Banes 2013-03-17 06:27:13 -07:00
  • 05b1c2aae5 Merge pull request #34 from xeodou/master Chris Banes 2013-03-17 06:23:35 -07:00
  • c18ece691a avoid doing cleanup twice, fixes a crash when null mImageView is called Steve Lhomme 2013-03-15 10:25:57 +01:00
  • 8b650b320c use LogManager so logs can be redirected if needed Steve Lhomme 2013-03-14 12:17:26 +01:00
  • 888adf2309 @Override is always a good indication in the code Steve Lhomme 2013-03-14 12:12:25 +01:00
  • 5d7fb5035f unset listeners on cleanup to avoid events coming asynchronously Steve Lhomme 2013-03-14 12:11:38 +01:00
  • 5a7635ed40 no need for the dummy files to compile Steve Lhomme 2013-03-14 12:10:39 +01:00
  • aea36b9aa7 don't keep the ViewObserver as it may not be alive when we need to remove our view (otherwise it crashes when the PhotoView is in a Fragment in a ViewPager and the page is no longer kept) Steve Lhomme 2013-03-12 15:14:00 +01:00
  • b22b3634d7 Update library/src/uk/co/senab/photoview/PhotoViewAttacher.java xeodou 2013-02-21 23:37:32 +08:00
  • db1921b57b Remove use of zoomTo, and enforce scale bounds on setScale Chris Banes 2013-02-10 09:40:51 +00:00
  • 4fd734279e New setScale() method with various options. Deprecates the zoomTo() method. Chris Banes 2013-02-10 09:36:44 +00:00
  • d9d8611b5c Merge tag 'v1.2.1' Chris Banes 2013-02-07 08:13:57 +00:00
  • eeaf036561 [maven-release-plugin] prepare for next development iteration Chris Banes 2013-02-07 08:09:29 +00:00
  • a097dbd953 [maven-release-plugin] prepare release v1.2.1 v1.2.1 Chris Banes 2013-02-07 08:09:15 +00:00
  • 2ad2e79fa7 Update manifests Chris Banes 2013-02-07 08:08:03 +00:00
  • c84d18bd42 Fix #27 Chris Banes 2013-02-06 17:54:37 +00:00
  • e37b15d569 Move method signatures to IPhotoView. Enforces parity between PhotoView and PhotoViewAttacher Chris Banes 2013-02-05 16:16:41 +00:00
  • c62f786331 Implement #24 Chris Banes 2013-02-05 16:07:23 +00:00
  • 972eb0dd4c Code Tidy Ups Chris Banes 2013-02-05 15:39:41 +00:00
  • 656612a747 Properly fix #25 Chris Banes 2013-02-05 15:39:35 +00:00
  • 5a298ec4da Merge pull request #26 from tbsandee/dev Chris Banes 2013-02-05 07:29:37 -08:00
  • c082509dbf Remove log spamming without changing source (hardcoded DEBUG flag) and without using Proguard to remove the log entries. Ben Sandee 2013-01-31 11:13:15 -06:00
  • e698074cf2 delegate onlongclicklistener to attacher Ben Sandee 2013-01-28 09:52:19 -06:00
  • 541054df41 avoid NPE when scaletype is called in constructor of ImageView Ben Sandee 2013-01-28 09:51:53 -06:00
  • 67e43fe359 add support for long press listener on PhotoAttacher Merge branch 'master' into dev Ben Sandee 2013-01-23 16:17:27 -06:00
  • e3c4707971 Support onLongClick listener on Attacher Ben Sandee 2013-01-23 16:09:20 -06:00
  • fbe7598ffd Let Scale Gesture Detector see all touch events Chris Banes 2013-01-06 16:32:48 +00:00
  • de94cd67e1 Fix memory issues with PhotoView by wrapping ImageView in a WeakReference. Makes the code messy, but should work. Chris Banes 2013-01-03 11:37:04 +00:00
  • 09aa7e0cf6 Fix Dragging not working Chris Banes 2013-01-03 11:20:53 +00:00
  • 4205b306b7 Add missing constructor to PhotoView Chris Banes 2012-12-28 10:58:22 +00:00
  • 18ec2058b1 Re-format source and fix lint issue Chris Banes 2012-12-12 17:45:06 +00:00
  • 853036cf52 Merge pull request #19 from httpdispatch/dev Chris Banes 2012-12-12 09:41:13 -08:00
  • 805b44e2ce Fix GestureDetector so that View.OnClickListener fires. Fixes #18. Chris Banes 2012-12-06 10:19:50 +00:00
  • c6fc342c48 - added possibility to use OnViewTapListener which ignores loaded photo bounds and processed touches from whole the view Eugene Popovich 2012-12-06 09:20:05 +02:00
  • 4ee118c3f6 Update PhotoView to update on setImageURI and setImageResource too. Chris Banes 2012-12-04 11:54:23 +00:00
  • c96ee5e7a7 Update sample to use new cleanup() method (directly and indirectly). Chris Banes 2012-12-04 11:54:03 +00:00
  • 88409e41f0 Clear Listeners in cleanup() too Chris Banes 2012-12-04 11:34:06 +00:00
  • 6b739b8af0 Fix #16. I can probably do some more cleanup too. Chris Banes 2012-12-04 11:23:45 +00:00
  • 9e837ac69e Remove unnecessary Lint Marker. Fixes #17 Chris Banes 2012-12-04 10:41:37 +00:00
  • 9aa8ef0ac6 Fix #15. Stupid bug by me. Chris Banes 2012-12-04 09:41:21 +00:00
  • acc0ab4783 Crap, didn't mean to commit these lines. Chris Banes 2012-12-03 17:42:12 +00:00
  • 9e9617e8d8 Fix #14 Chris Banes 2012-12-03 17:41:06 +00:00
  • 80e60ebfd0 Update Support Lib Chris Banes 2012-12-03 17:19:22 +00:00
  • 135954019a Don't fire fling via ACTION_CANCEL Chris Banes 2012-12-03 09:55:17 +00:00
  • 826e744d94 Include appropriate LICENSE file Chris Banes 2012-11-23 11:25:49 +00:00
  • dd4a40c7ee Include appropriate LICENSE file Chris Banes 2012-11-23 11:25:44 +00:00
  • b0e35795e6 Merge tag 'v1.2' Chris Banes 2012-11-21 12:29:16 +00:00
  • 3c93a8227f [maven-release-plugin] prepare for next development iteration Chris Banes 2012-11-21 12:27:05 +00:00
  • c2ae41aba7 [maven-release-plugin] prepare release v1.2 v1.2 Chris Banes 2012-11-21 12:26:57 +00:00
  • 4b05a6d13b Update Manifests Chris Banes 2012-11-21 12:24:24 +00:00
  • b10b7dce5b Override PhotoView's setScaleType and getScaleType to divert the calls to PhotoViewAttacher Chris Banes 2012-11-21 12:22:55 +00:00
  • 827156fedf Link README to Changelog Wiki page Chris Banes 2012-11-21 12:07:43 +00:00
  • 44f123ca97 Fix Zoom In co-ordinates for CENTRE_* ScaleTypes Chris Banes 2012-11-21 11:45:48 +00:00
  • 7550331089 Make the remaining public methods final Chris Banes 2012-11-21 11:26:29 +00:00
  • 1b5e6d1a17 Add doc to ScaleType methods, and fix some method sigs Chris Banes 2012-11-21 11:25:25 +00:00
  • 838cac226b Fix #8. Was caused by we were flinging when we shouldn't be. Chris Banes 2012-11-21 11:15:52 +00:00
  • 93de1fbf23 Move postOnAnimation code to separate class, and match 60 fps more closely on non-JB devices. Chris Banes 2012-11-21 11:06:41 +00:00
  • a4c53a013d Fix 'memory leak'. PhotoView was instantiating a RectF on every scale and matrix check. Chris Banes 2012-11-21 10:46:18 +00:00
  • 7bf9d3ea44 Silly typo in previous commit, now works much better. Chris Banes 2012-11-21 10:22:19 +00:00
  • a1b7b0f0a2 Add function for custom ScaleType. Not fully working yet. Chris Banes 2012-11-15 15:50:55 +00:00