{"action":"created","issue":{"url":"https://api.github.com/repos/umano/AndroidSlidingUpPanel/issues/798","repository_url":"https://api.github.com/repos/umano/AndroidSlidingUpPanel","labels_url":"https://api.github.com/repos/umano/AndroidSlidingUpPanel/issues/798/labels{/name}","comments_url":"https://api.github.com/repos/umano/AndroidSlidingUpPanel/issues/798/comments","events_url":"https://api.github.com/repos/umano/AndroidSlidingUpPanel/issues/798/events","html_url":"https://github.com/umano/AndroidSlidingUpPanel/issues/798","id":197992510,"number":798,"title":"Scrollvew scroll to the top of face board of the Lord would happen quickly drag down","user":{"login":"lipingaccp","id":12524184,"avatar_url":"https://avatars0.githubusercontent.com/u/12524184?v=3","gravatar_id":"","url":"https://api.github.com/users/lipingaccp","html_url":"https://github.com/lipingaccp","followers_url":"https://api.github.com/users/lipingaccp/followers","following_url":"https://api.github.com/users/lipingaccp/following{/other_user}","gists_url":"https://api.github.com/users/lipingaccp/gists{/gist_id}","starred_url":"https://api.github.com/users/lipingaccp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lipingaccp/subscriptions","organizations_url":"https://api.github.com/users/lipingaccp/orgs","repos_url":"https://api.github.com/users/lipingaccp/repos","events_url":"https://api.github.com/users/lipingaccp/events{/privacy}","received_events_url":"https://api.github.com/users/lipingaccp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-29T11:22:45Z","updated_at":"2017-03-04T03:20:02Z","closed_at":null,"body":"Scrollvew scroll to the top surface for the board master would happen quickly drag down but there is no consumption eventsBecause one click panel it will rebound again. Pay attention to this problem is not so good repetition to try a few times more drag down by not too bigI analyzed the conflict is the event and custom by intercepting the Scrollview the following main code\r\n\r\n @Override\r\n    public boolean dispatchTouchEvent(MotionEvent ev) {\r\n        switch (ev.getAction()){\r\n            case MotionEvent.ACTION_MOVE:\r\n                if (isScrolledToTop){\r\n                    getParent().requestDisallowInterceptTouchEvent(false);\r\n                }\r\n                break;\r\n            case MotionEvent.ACTION_UP:\r\n                if (!isScrolledToTop){\r\n                    getParent().requestDisallowInterceptTouchEvent(true);\r\n                }\r\n                break;\r\n        }\r\n        return super.dispatchTouchEvent(ev);\r\n    }\r\nAdd the following code in the dispatchTouchEvent method\r\n if (mScrollableViewHelper.getScrollableViewScrollPosition(mScrollableView, mIsSlidingUp) > 0) {\r\n                    mIsScrollableViewHandlingTouch = true;\r\n                    return super.dispatchTouchEvent(ev);\r\n                }else if (mScrollableViewHelper.getScrollableViewScrollPosition(mScrollableView, mIsSlidingUp)<=0){\r\n                    return handled;\r\n                }"},"comment":{"url":"https://api.github.com/repos/umano/AndroidSlidingUpPanel/issues/comments/284123281","html_url":"https://github.com/umano/AndroidSlidingUpPanel/issues/798#issuecomment-284123281","issue_url":"https://api.github.com/repos/umano/AndroidSlidingUpPanel/issues/798","id":284123281,"user":{"login":"lipingaccp","id":12524184,"avatar_url":"https://avatars0.githubusercontent.com/u/12524184?v=3","gravatar_id":"","url":"https://api.github.com/users/lipingaccp","html_url":"https://github.com/lipingaccp","followers_url":"https://api.github.com/users/lipingaccp/followers","following_url":"https://api.github.com/users/lipingaccp/following{/other_user}","gists_url":"https://api.github.com/users/lipingaccp/gists{/gist_id}","starred_url":"https://api.github.com/users/lipingaccp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lipingaccp/subscriptions","organizations_url":"https://api.github.com/users/lipingaccp/orgs","repos_url":"https://api.github.com/users/lipingaccp/repos","events_url":"https://api.github.com/users/lipingaccp/events{/privacy}","received_events_url":"https://api.github.com/users/lipingaccp/received_events","type":"User","site_admin":false},"created_at":"2017-03-04T03:20:01Z","updated_at":"2017-03-04T03:20:01Z","body":"Yes, thank you\n> 在 2017年3月4日，上午12:33，Timothy Miller <notifications@github.com> 写道：\n> \n> I understand and am experiencing the same issue, except with RecyclerView. Is your code above a proposed solution?\n> \n> —\n> You are receiving this because you authored the thread.\n> Reply to this email directly, view it on GitHub <https://github.com/umano/AndroidSlidingUpPanel/issues/798#issuecomment-284001962>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AL8amCgdgtpvQ5-IZPKXKhHk1w4kEkPdks5riEDGgaJpZM4LXhHX>.\n> \n\n"}}
{"actor":{"display_login":"lipingaccp"}}