{"action":"closed","issue":{"url":"https://api.github.com/repos/r0adkll/Slidr/issues/24","labels_url":"https://api.github.com/repos/r0adkll/Slidr/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/r0adkll/Slidr/issues/24/comments","events_url":"https://api.github.com/repos/r0adkll/Slidr/issues/24/events","html_url":"https://github.com/r0adkll/Slidr/issues/24","id":97686669,"number":24,"title":"Change helper.cancel() to helper.abort() in lock/unlock method.","user":{"login":"ladjzero","id":4110311,"avatar_url":"https://avatars.githubusercontent.com/u/4110311?v=3","gravatar_id":"","url":"https://api.github.com/users/ladjzero","html_url":"https://github.com/ladjzero","followers_url":"https://api.github.com/users/ladjzero/followers","following_url":"https://api.github.com/users/ladjzero/following{/other_user}","gists_url":"https://api.github.com/users/ladjzero/gists{/gist_id}","starred_url":"https://api.github.com/users/ladjzero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ladjzero/subscriptions","organizations_url":"https://api.github.com/users/ladjzero/orgs","repos_url":"https://api.github.com/users/ladjzero/repos","events_url":"https://api.github.com/users/ladjzero/events{/privacy}","received_events_url":"https://api.github.com/users/ladjzero/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-28T11:53:57Z","updated_at":"2015-08-15T22:03:41Z","closed_at":"2015-08-15T22:03:41Z","body":"I wish to change `mDragHelper.cancel();` to `mDragHelper.abort();` in lock/unlock method because the following case.\r\n\r\nI use pullToRrefresh listview and Slidr in an activity. I lock Slidr when listView is pulled to refresh and unlock when the touch is released. Unfortunately, Slidr will eat the first touch event after being unlocked. That means I can not scroll the listview, but only to slide the whole view.\r\n\r\nEven though Slidr is disabled, the dragHelper is still tracking touch event silently. `onInterceptTouchEvent` of SlidrPanel may return true once Slidr is enabled and touch occurs.\r\n\r\nIt is a bit confusing because I did not drag at all after unlocking Slidr.\r\n\r\nSo, how about calling `abort` to clean touch history instead of `cancel` in lock/unlock method?"}}