This fixes a bug in the #canScroll method where it always returns true (instead of false), when the width of the bitmap is smaller than the width of the ImageViewTouch.
It can be reproduced by creating a ViewPager containing a ImageViewTouch and loading an image that is smaller than the resulting width of the ImageViewTouch.
This fixes a bug in the #canScroll method where it always returns true (instead of false), when the width of the bitmap is smaller than the width of the ImageViewTouch.
It can be reproduced by creating a ViewPager containing a ImageViewTouch and loading an image that is smaller than the resulting width of the ImageViewTouch.
Here is an example (not mine): https://gist.github.com/atermenji/3781644