{"action":"opened","issue":{"url":"https://api.github.com/repos/georgeyang1024/DoubleScroll/issues/1","repository_url":"https://api.github.com/repos/georgeyang1024/DoubleScroll","labels_url":"https://api.github.com/repos/georgeyang1024/DoubleScroll/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/georgeyang1024/DoubleScroll/issues/1/comments","events_url":"https://api.github.com/repos/georgeyang1024/DoubleScroll/issues/1/events","html_url":"https://github.com/georgeyang1024/DoubleScroll/issues/1","id":190666877,"number":1,"title":"RecyclerView好像有点问题","user":{"login":"xiaokun19931126","id":18168000,"avatar_url":"https://avatars.githubusercontent.com/u/18168000?v=3","gravatar_id":"","url":"https://api.github.com/users/xiaokun19931126","html_url":"https://github.com/xiaokun19931126","followers_url":"https://api.github.com/users/xiaokun19931126/followers","following_url":"https://api.github.com/users/xiaokun19931126/following{/other_user}","gists_url":"https://api.github.com/users/xiaokun19931126/gists{/gist_id}","starred_url":"https://api.github.com/users/xiaokun19931126/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiaokun19931126/subscriptions","organizations_url":"https://api.github.com/users/xiaokun19931126/orgs","repos_url":"https://api.github.com/users/xiaokun19931126/repos","events_url":"https://api.github.com/users/xiaokun19931126/events{/privacy}","received_events_url":"https://api.github.com/users/xiaokun19931126/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-21T09:53:30Z","updated_at":"2016-11-21T09:53:30Z","closed_at":null,"body":"title指向RecyclerView的时候，一开始事件就交给scrollableView进行分发了。\r\n还有就是水平滑动有时候有点冲突，你看这样是不是好一点：\r\n`if (Math.abs(detalY) > Math.abs(detalX)) {\r\n    //加一个判断水平还是上下滑动，只有上下滑动的时候才会有上滑和下拉\r\n                        if (isUp) {\r\n                            Log.d(\"xiao\", \"maxMoveY:\" + maxMoveY);\r\n                            if (getScrollY() >= maxMoveY) {\r\n                                Log.d(\"xiao\", \"hah:\");\r\n                                event.transform(eventMatrix);//将变换矩阵应用于事件中的所有点\r\n                                return scrollableView.dispatchTouchEvent(event);\r\n                            }\r\n                        } else if (isDown) {\r\n                            if (!ViewUtil.isScrollToTop(scrollableView)) {//如果可滑动的view没有滑到顶部\r\n                                event.transform(eventMatrix);//将变换矩阵应用于事件中的所有点\r\n                                return scrollableView.dispatchTouchEvent(event);\r\n                            }\r\n                        }\r\n                    }`"}}
{"actor":{"display_login":"xiaokun19931126"}}