{"action":"created","issue":{"url":"https://api.github.com/repos/h6ah4i/android-advancedrecyclerview/issues/162","labels_url":"https://api.github.com/repos/h6ah4i/android-advancedrecyclerview/issues/162/labels{/name}","comments_url":"https://api.github.com/repos/h6ah4i/android-advancedrecyclerview/issues/162/comments","events_url":"https://api.github.com/repos/h6ah4i/android-advancedrecyclerview/issues/162/events","html_url":"https://github.com/h6ah4i/android-advancedrecyclerview/issues/162","id":121373124,"number":162,"title":"Help understanding IllegalStateException","user":{"login":"FreakTheMighty","id":247092,"avatar_url":"https://avatars.githubusercontent.com/u/247092?v=3","gravatar_id":"","url":"https://api.github.com/users/FreakTheMighty","html_url":"https://github.com/FreakTheMighty","followers_url":"https://api.github.com/users/FreakTheMighty/followers","following_url":"https://api.github.com/users/FreakTheMighty/following{/other_user}","gists_url":"https://api.github.com/users/FreakTheMighty/gists{/gist_id}","starred_url":"https://api.github.com/users/FreakTheMighty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FreakTheMighty/subscriptions","organizations_url":"https://api.github.com/users/FreakTheMighty/orgs","repos_url":"https://api.github.com/users/FreakTheMighty/repos","events_url":"https://api.github.com/users/FreakTheMighty/events{/privacy}","received_events_url":"https://api.github.com/users/FreakTheMighty/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/h6ah4i/android-advancedrecyclerview/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-10T00:24:41Z","updated_at":"2015-12-12T09:17:51Z","closed_at":null,"body":"I have implemented a \"swipe to reveal button\" interface and was playing around with the swipe gesture in my application. I'm having trouble replicating the issue, but one time I crashed the application while swiping. Unfortunately I don't think I will be able to upload a minimal failing example, but was hoping you might be able to point me in the right direction for fixing the problem.\r\n\r\nVersions\r\n```\r\nAndroid:6.0\r\nadvrecyclerview:0.7.2\r\nsupport-v4:22.2.0'\r\n ```\r\nI get this traceback:\r\n```java\r\njava.lang.IllegalStateException: after animation is cancelled, item should not be in the active animation list [slide]\r\n        at com.h6ah4i.android.widget.advrecyclerview.swipeable.ItemSlidingAnimator.endAnimation(ItemSlidingAnimator.java:278)\r\n        at com.h6ah4i.android.widget.advrecyclerview.swipeable.ItemSlidingAnimator.animateSlideInternal(ItemSlidingAnimator.java:219)\r\n        at com.h6ah4i.android.widget.advrecyclerview.swipeable.ItemSlidingAnimator.animateSlideInternalCompat(ItemSlidingAnimator.java:148)\r\n        at com.h6ah4i.android.widget.advrecyclerview.swipeable.ItemSlidingAnimator.slideToSpecifiedPositionInternal(ItemSlidingAnimator.java:91)\r\n        at com.h6ah4i.android.widget.advrecyclerview.swipeable.ItemSlidingAnimator.slideToSpecifiedPosition(ItemSlidingAnimator.java:67)\r\n        at com.h6ah4i.android.widget.advrecyclerview.swipeable.RecyclerViewSwipeManager.slideItem(RecyclerViewSwipeManager.java:689)\r\n        at com.h6ah4i.android.widget.advrecyclerview.swipeable.RecyclerViewSwipeManager.applySlideItem(RecyclerViewSwipeManager.java:763)\r\n        at com.h6ah4i.android.widget.advrecyclerview.swipeable.SwipingItemOperator.update(SwipingItemOperator.java:107)\r\n        at com.h6ah4i.android.widget.advrecyclerview.swipeable.RecyclerViewSwipeManager.handleActionMoveWhileSwiping(RecyclerViewSwipeManager.java:567)\r\n        at com.h6ah4i.android.widget.advrecyclerview.swipeable.RecyclerViewSwipeManager.onTouchEvent(RecyclerViewSwipeManager.java:432)\r\n        at com.h6ah4i.android.widget.advrecyclerview.swipeable.RecyclerViewSwipeManager$1.onTouchEvent(RecyclerViewSwipeManager.java:262)\r\n        at android.support.v7.widget.RecyclerView.dispatchOnItemTouch(RecyclerView.java:1991)\r\n        at android.support.v7.widget.RecyclerView.onTouchEvent(RecyclerView.java:2116)\r\n        at android.view.View.dispatchTouchEvent(View.java:9294)\r\n        at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2547)\r\n        at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2240)\r\n        at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)\r\n        at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)\r\n        at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)\r\n        at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)\r\n        at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)\r\n        at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)\r\n        at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)\r\n        at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)\r\n        at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)\r\n        at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)\r\n        at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)\r\n        at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)\r\n        at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)\r\n        at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)\r\n        at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2553)\r\n        at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2254)\r\n        at com.android.internal.policy.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2403)\r\n        at com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1737)\r\n        at android.app.Activity.dispatchTouchEvent(Activity.java:2765)\r\n        at android.support.v7.internal.view.WindowCallbackWrapper.dispatchTouchEvent(WindowCallbackWrapper.java:59)\r\n        at com.android.internal.policy.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2364)\r\n        at android.view.View.dispatchPointerEvent(View.java:9514)\r\n        at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4230)\r\n        at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4096)\r\n        at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3642)\r\n        at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3695)\r\n        at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/h6ah4i/android-advancedrecyclerview/issues/comments/164127857","html_url":"https://github.com/h6ah4i/android-advancedrecyclerview/issues/162#issuecomment-164127857","issue_url":"https://api.github.com/repos/h6ah4i/android-advancedrecyclerview/issues/162","id":164127857,"user":{"login":"h6ah4i","id":2552365,"avatar_url":"https://avatars.githubusercontent.com/u/2552365?v=3","gravatar_id":"","url":"https://api.github.com/users/h6ah4i","html_url":"https://github.com/h6ah4i","followers_url":"https://api.github.com/users/h6ah4i/followers","following_url":"https://api.github.com/users/h6ah4i/following{/other_user}","gists_url":"https://api.github.com/users/h6ah4i/gists{/gist_id}","starred_url":"https://api.github.com/users/h6ah4i/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h6ah4i/subscriptions","organizations_url":"https://api.github.com/users/h6ah4i/orgs","repos_url":"https://api.github.com/users/h6ah4i/repos","events_url":"https://api.github.com/users/h6ah4i/events{/privacy}","received_events_url":"https://api.github.com/users/h6ah4i/received_events","type":"User","site_admin":false},"created_at":"2015-12-12T09:17:51Z","updated_at":"2015-12-12T09:17:51Z","body":"Hi. Thanks for reporting the issue.\r\n\r\nI am not sure what is the cause of this problem, but I guess it is related to the item view recycling mechanism. This library has a bug until v0.8.3 which is triggered when item view is recycled during swipe animation is still running.\r\n\r\nref.) Item swipe completes after holder recycled #136 \r\n\r\nBTW, why are you still using old version of this library? Is there any reason?\r\n"}}