{"action":"created","issue":{"url":"https://api.github.com/repos/lsjwzh/RecyclerViewPager/issues/35","labels_url":"https://api.github.com/repos/lsjwzh/RecyclerViewPager/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/lsjwzh/RecyclerViewPager/issues/35/comments","events_url":"https://api.github.com/repos/lsjwzh/RecyclerViewPager/issues/35/events","html_url":"https://github.com/lsjwzh/RecyclerViewPager/pull/35","id":105075556,"number":35,"title":"Set mPositionBeforeScroll to page we notify switched to","user":{"login":"cymen","id":121034,"avatar_url":"https://avatars.githubusercontent.com/u/121034?v=3","gravatar_id":"","url":"https://api.github.com/users/cymen","html_url":"https://github.com/cymen","followers_url":"https://api.github.com/users/cymen/followers","following_url":"https://api.github.com/users/cymen/following{/other_user}","gists_url":"https://api.github.com/users/cymen/gists{/gist_id}","starred_url":"https://api.github.com/users/cymen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cymen/subscriptions","organizations_url":"https://api.github.com/users/cymen/orgs","repos_url":"https://api.github.com/users/cymen/repos","events_url":"https://api.github.com/users/cymen/events{/privacy}","received_events_url":"https://api.github.com/users/cymen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-06T06:46:53Z","updated_at":"2015-09-06T13:03:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/lsjwzh/RecyclerViewPager/pulls/35","html_url":"https://github.com/lsjwzh/RecyclerViewPager/pull/35","diff_url":"https://github.com/lsjwzh/RecyclerViewPager/pull/35.diff","patch_url":"https://github.com/lsjwzh/RecyclerViewPager/pull/35.patch"},"body":"This resolves issue #33 and it makes sense: when we publish the on page change notification to a new page, set our internal position before scroll (`mPositionBeforeScroll`) to the new position. This ensures we keep `mPositionBeforeScroll` up to date."},"comment":{"url":"https://api.github.com/repos/lsjwzh/RecyclerViewPager/issues/comments/138084057","html_url":"https://github.com/lsjwzh/RecyclerViewPager/pull/35#issuecomment-138084057","issue_url":"https://api.github.com/repos/lsjwzh/RecyclerViewPager/issues/35","id":138084057,"user":{"login":"lsjwzh","id":2450938,"avatar_url":"https://avatars.githubusercontent.com/u/2450938?v=3","gravatar_id":"","url":"https://api.github.com/users/lsjwzh","html_url":"https://github.com/lsjwzh","followers_url":"https://api.github.com/users/lsjwzh/followers","following_url":"https://api.github.com/users/lsjwzh/following{/other_user}","gists_url":"https://api.github.com/users/lsjwzh/gists{/gist_id}","starred_url":"https://api.github.com/users/lsjwzh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsjwzh/subscriptions","organizations_url":"https://api.github.com/users/lsjwzh/orgs","repos_url":"https://api.github.com/users/lsjwzh/repos","events_url":"https://api.github.com/users/lsjwzh/events{/privacy}","received_events_url":"https://api.github.com/users/lsjwzh/received_events","type":"User","site_admin":false},"created_at":"2015-09-06T13:03:46Z","updated_at":"2015-09-06T13:03:46Z","body":"Nice!!! I will merge it as soon as possible."}}