{"action":"created","issue":{"url":"https://api.github.com/repos/xiaojianglaile/Calendar/issues/7","repository_url":"https://api.github.com/repos/xiaojianglaile/Calendar","labels_url":"https://api.github.com/repos/xiaojianglaile/Calendar/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/xiaojianglaile/Calendar/issues/7/comments","events_url":"https://api.github.com/repos/xiaojianglaile/Calendar/issues/7/events","html_url":"https://github.com/xiaojianglaile/Calendar/issues/7","id":221495997,"number":7,"title":"周历跨月份翻页的BUG","user":{"login":"wyq01","id":2276398,"avatar_url":"https://avatars2.githubusercontent.com/u/2276398?v=3","gravatar_id":"","url":"https://api.github.com/users/wyq01","html_url":"https://github.com/wyq01","followers_url":"https://api.github.com/users/wyq01/followers","following_url":"https://api.github.com/users/wyq01/following{/other_user}","gists_url":"https://api.github.com/users/wyq01/gists{/gist_id}","starred_url":"https://api.github.com/users/wyq01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wyq01/subscriptions","organizations_url":"https://api.github.com/users/wyq01/orgs","repos_url":"https://api.github.com/users/wyq01/repos","events_url":"https://api.github.com/users/wyq01/events{/privacy}","received_events_url":"https://api.github.com/users/wyq01/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-04-13T08:41:38Z","updated_at":"2017-04-20T04:02:18Z","closed_at":null,"body":"建议将ScheduleLayout类的第420代码：\r\nint row = monthView.getWeekRow() - 1;\r\n改为：\r\nint row = CalendarUtils.getWeekRow(monthView.getSelectYear(), monthView.getSelectMonth(), monthView.getSelectDay());\r\n用以解决在周历跨月份翻页时，月历位置计算不准确导致下拉月历出现位置错位的BUG。"},"comment":{"url":"https://api.github.com/repos/xiaojianglaile/Calendar/issues/comments/295572411","html_url":"https://github.com/xiaojianglaile/Calendar/issues/7#issuecomment-295572411","issue_url":"https://api.github.com/repos/xiaojianglaile/Calendar/issues/7","id":295572411,"user":{"login":"LoveqLRC","id":13888325,"avatar_url":"https://avatars2.githubusercontent.com/u/13888325?v=3","gravatar_id":"","url":"https://api.github.com/users/LoveqLRC","html_url":"https://github.com/LoveqLRC","followers_url":"https://api.github.com/users/LoveqLRC/followers","following_url":"https://api.github.com/users/LoveqLRC/following{/other_user}","gists_url":"https://api.github.com/users/LoveqLRC/gists{/gist_id}","starred_url":"https://api.github.com/users/LoveqLRC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LoveqLRC/subscriptions","organizations_url":"https://api.github.com/users/LoveqLRC/orgs","repos_url":"https://api.github.com/users/LoveqLRC/repos","events_url":"https://api.github.com/users/LoveqLRC/events{/privacy}","received_events_url":"https://api.github.com/users/LoveqLRC/received_events","type":"User","site_admin":false},"created_at":"2017-04-20T04:02:18Z","updated_at":"2017-04-20T04:02:18Z","body":"@wyq01\r\n\r\n   @Override\r\n        public void onClickDate(int year, int month, int day) {\r\n            mcvCalendar.setOnCalendarClickListener(null);\r\n            int months = CalendarUtils.getMonthsAgo(mCurrentSelectYear, mCurrentSelectMonth, year,      month);\r\n            resetCurrentSelectDate(year, month, day);\r\n            if (months != 0) {\r\n                int position = mcvCalendar.getCurrentItem() + months;\r\n                mcvCalendar.setCurrentItem(position, false);\r\n            }\r\n            resetMonthView();\r\n            mcvCalendar.setOnCalendarClickListener(mMonthCalendarClickListener);\r\n            resetCalendarPosition();\r\n        }\r\n\r\n    @Override\r\n        public void onPageChange(int year, int month, int day) {\r\n            if (mIsAutoChangeMonthRow) {\r\n                if (mCurrentSelectMonth != month) {\r\n                    mCurrentRowsIsSix = CalendarUtils.getMonthRows(year, month) == 6;\r\n                }\r\n            }\r\n            resetCalendarPosition();\r\n        }\r\n是这样吗？"}}
{"actor":{"display_login":"LoveqLRC"}}