{"action":"created","issue":{"url":"https://api.github.com/repos/r0adkll/Slidr/issues/12","labels_url":"https://api.github.com/repos/r0adkll/Slidr/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/r0adkll/Slidr/issues/12/comments","events_url":"https://api.github.com/repos/r0adkll/Slidr/issues/12/events","html_url":"https://github.com/r0adkll/Slidr/issues/12","id":60654150,"number":12,"title":"Error from the image zoom","user":{"login":"jjhesk","id":629338,"avatar_url":"https://avatars.githubusercontent.com/u/629338?v=3","gravatar_id":"","url":"https://api.github.com/users/jjhesk","html_url":"https://github.com/jjhesk","followers_url":"https://api.github.com/users/jjhesk/followers","following_url":"https://api.github.com/users/jjhesk/following{/other_user}","gists_url":"https://api.github.com/users/jjhesk/gists{/gist_id}","starred_url":"https://api.github.com/users/jjhesk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjhesk/subscriptions","organizations_url":"https://api.github.com/users/jjhesk/orgs","repos_url":"https://api.github.com/users/jjhesk/repos","events_url":"https://api.github.com/users/jjhesk/events{/privacy}","received_events_url":"https://api.github.com/users/jjhesk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-11T12:58:11Z","updated_at":"2015-03-11T15:16:38Z","closed_at":null,"body":"I have used the slidr with the photoview from chrisbanes. There are some out of bounds error i have found and they are listed here:\r\n\r\n```\r\n03-11 20:52:31.899  15048-15048/com.buildsystemexample.app.test_native E/AndroidRuntime﹕ FATAL EXCEPTION: main\r\n    Process: com.buildsystemexample.app.test_native, PID: 15048\r\n    java.lang.ArrayIndexOutOfBoundsException: length=1; index=1\r\n            at android.support.v4.widget.ViewDragHelper.saveLastMotion(ViewDragHelper.java:848)\r\n            at android.support.v4.widget.ViewDragHelper.shouldInterceptTouchEvent(ViewDragHelper.java:1049)\r\n            at com.r0adkll.slidr.widget.SliderPanel.onInterceptTouchEvent(SliderPanel.java:155)\r\n            at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2059)\r\n            at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2436)\r\n            at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2178)\r\n            at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2383)\r\n            at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1724)\r\n            at android.app.Activity.dispatchTouchEvent(Activity.java:2764)\r\n            at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2332)\r\n            at android.view.View.dispatchPointerEvent(View.java:8655)\r\n            at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4238)\r\n            at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4094)\r\n            at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3635)\r\n            at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3694)\r\n            at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3660)\r\n            at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3773)\r\n            at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3668)\r\n            at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:3830)\r\n            at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3640)\r\n            at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3694)\r\n            at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3660)\r\n            at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3668)\r\n            at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3640)\r\n            at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:5940)\r\n            at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:5908)\r\n            at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:5872)\r\n            at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:6030)\r\n            at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:211)\r\n            at android.view.InputEventReceiver.nativeConsumeBatchedInputEvents(Native Method)\r\n            at android.view.InputEventReceiver.consumeBatchedInputEvents(InputEventReceiver.java:197)\r\n            at android.view.ViewRootImpl.doConsumeBatchedInput(ViewRootImpl.java:6001)\r\n            at android.view.ViewRootImpl$ConsumeBatchedInputRunnable.run(ViewRootImpl.java:6062)\r\n            at android.view.Choreographer$CallbackRecord.run(Choreographer.java:792)\r\n            at android.view.Choreographer.doCallbacks(Choreographer.java:596)\r\n            at android.view.Choreographer.doFrame(Choreographer.java:555)\r\n            at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:778)\r\n            at android.os.Handler.handleCallback(Handler.java:739)\r\n            at android.os.Handler.dispatchMessage(Handler.java:95)\r\n            at android.os.Looper.loop(Looper.java:155)\r\n            at android.app.ActivityThread.main(ActivityThread.java:5696)\r\n            at java.lang.reflect.Method.invoke(Native Method)\r\n            at java.lang.reflect.Method.invoke(Method.java:372)\r\n            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1028)\r\n            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:823)\r\n```\r\n\r\nIt triggers when first there are two fingers touch the screen."},"comment":{"url":"https://api.github.com/repos/r0adkll/Slidr/issues/comments/78283456","html_url":"https://github.com/r0adkll/Slidr/issues/12#issuecomment-78283456","issue_url":"https://api.github.com/repos/r0adkll/Slidr/issues/12","id":78283456,"user":{"login":"r0adkll","id":1237372,"avatar_url":"https://avatars.githubusercontent.com/u/1237372?v=3","gravatar_id":"","url":"https://api.github.com/users/r0adkll","html_url":"https://github.com/r0adkll","followers_url":"https://api.github.com/users/r0adkll/followers","following_url":"https://api.github.com/users/r0adkll/following{/other_user}","gists_url":"https://api.github.com/users/r0adkll/gists{/gist_id}","starred_url":"https://api.github.com/users/r0adkll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r0adkll/subscriptions","organizations_url":"https://api.github.com/users/r0adkll/orgs","repos_url":"https://api.github.com/users/r0adkll/repos","events_url":"https://api.github.com/users/r0adkll/events{/privacy}","received_events_url":"https://api.github.com/users/r0adkll/received_events","type":"User","site_admin":false},"created_at":"2015-03-11T15:16:38Z","updated_at":"2015-03-11T15:16:38Z","body":"These errors are occurring in the `ViewDragHelper` class that is supplied by the support library. See the _first_ two lines of the stacktrace: \r\n\r\n    at android.support.v4.widget.ViewDragHelper.saveLastMotion(ViewDragHelper.java:848)\r\n    at android.support.v4.widget.ViewDragHelper.shouldInterceptTouchEvent(ViewDragHelper.java:1049)\r\n\r\nThere is nothing I can really do besides wrapping the `mDragHelper.shouldInterceptTouchEvent(ev);` in a try-catch statement. I would recommend forking the library and wrapping that line in a try-catch and see if that works for you. If so you can make a pull request to the library and I'll merge it."}}