{"action":"closed","number":40,"pull_request":{"url":"https://api.github.com/repos/chandu0101/sri/pulls/40","id":71325074,"html_url":"https://github.com/chandu0101/sri/pull/40","diff_url":"https://github.com/chandu0101/sri/pull/40.diff","patch_url":"https://github.com/chandu0101/sri/pull/40.patch","issue_url":"https://api.github.com/repos/chandu0101/sri/issues/40","number":40,"state":"closed","locked":false,"title":"Add a paramenter to onScroll function.","user":{"login":"hamazy","id":769069,"avatar_url":"https://avatars.githubusercontent.com/u/769069?v=3","gravatar_id":"","url":"https://api.github.com/users/hamazy","html_url":"https://github.com/hamazy","followers_url":"https://api.github.com/users/hamazy/followers","following_url":"https://api.github.com/users/hamazy/following{/other_user}","gists_url":"https://api.github.com/users/hamazy/gists{/gist_id}","starred_url":"https://api.github.com/users/hamazy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hamazy/subscriptions","organizations_url":"https://api.github.com/users/hamazy/orgs","repos_url":"https://api.github.com/users/hamazy/repos","events_url":"https://api.github.com/users/hamazy/events{/privacy}","received_events_url":"https://api.github.com/users/hamazy/received_events","type":"User","site_admin":false},"body":"Although even [the official document](https://facebook.github.io/react-native/docs/scrollview.html#onscroll) does not mention it explicitly, onScroll is called with an argument passed to it.\r\n\r\nhttps://github.com/facebook/react-native/blob/a53d0f99ddaefc117c134b9b8dde351d676abad8/React/Views/RCTScrollView.m#L71\r\nhttps://github.com/facebook/react-native/blob/a53d0f99ddaefc117c134b9b8dde351d676abad8/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ScrollEvent.java#L121\r\n\r\nIt would be preferable if we can make use of this event object. For example, we might want to track the position of a displaying content within a scroll view.","created_at":"2016-05-25T03:22:19Z","updated_at":"2016-05-25T06:32:23Z","closed_at":"2016-05-25T06:32:23Z","merged_at":"2016-05-25T06:32:23Z","merge_commit_sha":"e53fc1fb82cc6d477eb56994fde7d169527d989d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/chandu0101/sri/pulls/40/commits","review_comments_url":"https://api.github.com/repos/chandu0101/sri/pulls/40/comments","review_comment_url":"https://api.github.com/repos/chandu0101/sri/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chandu0101/sri/issues/40/comments","statuses_url":"https://api.github.com/repos/chandu0101/sri/statuses/674b419ddbb65dbede52be79021f33cca73cfd0a","head":{"label":"hamazy:add-support-for-scrollevent","ref":"add-support-for-scrollevent","sha":"674b419ddbb65dbede52be79021f33cca73cfd0a","user":{"login":"hamazy","id":769069,"avatar_url":"https://avatars.githubusercontent.com/u/769069?v=3","gravatar_id":"","url":"https://api.github.com/users/hamazy","html_url":"https://github.com/hamazy","followers_url":"https://api.github.com/users/hamazy/followers","following_url":"https://api.github.com/users/hamazy/following{/other_user}","gists_url":"https://api.github.com/users/hamazy/gists{/gist_id}","starred_url":"https://api.github.com/users/hamazy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hamazy/subscriptions","organizations_url":"https://api.github.com/users/hamazy/orgs","repos_url":"https://api.github.com/users/hamazy/repos","events_url":"https://api.github.com/users/hamazy/events{/privacy}","received_events_url":"https://api.github.com/users/hamazy/received_events","type":"User","site_admin":false},"repo":{"id":56204234,"name":"sri","full_name":"hamazy/sri","owner":{"login":"hamazy","id":769069,"avatar_url":"https://avatars.githubusercontent.com/u/769069?v=3","gravatar_id":"","url":"https://api.github.com/users/hamazy","html_url":"https://github.com/hamazy","followers_url":"https://api.github.com/users/hamazy/followers","following_url":"https://api.github.com/users/hamazy/following{/other_user}","gists_url":"https://api.github.com/users/hamazy/gists{/gist_id}","starred_url":"https://api.github.com/users/hamazy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hamazy/subscriptions","organizations_url":"https://api.github.com/users/hamazy/orgs","repos_url":"https://api.github.com/users/hamazy/repos","events_url":"https://api.github.com/users/hamazy/events{/privacy}","received_events_url":"https://api.github.com/users/hamazy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hamazy/sri","description":"Build truly native cross platform (web,ios,android) apps using scalajs and react, react-native","fork":true,"url":"https://api.github.com/repos/hamazy/sri","forks_url":"https://api.github.com/repos/hamazy/sri/forks","keys_url":"https://api.github.com/repos/hamazy/sri/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hamazy/sri/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hamazy/sri/teams","hooks_url":"https://api.github.com/repos/hamazy/sri/hooks","issue_events_url":"https://api.github.com/repos/hamazy/sri/issues/events{/number}","events_url":"https://api.github.com/repos/hamazy/sri/events","assignees_url":"https://api.github.com/repos/hamazy/sri/assignees{/user}","branches_url":"https://api.github.com/repos/hamazy/sri/branches{/branch}","tags_url":"https://api.github.com/repos/hamazy/sri/tags","blobs_url":"https://api.github.com/repos/hamazy/sri/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hamazy/sri/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hamazy/sri/git/refs{/sha}","trees_url":"https://api.github.com/repos/hamazy/sri/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hamazy/sri/statuses/{sha}","languages_url":"https://api.github.com/repos/hamazy/sri/languages","stargazers_url":"https://api.github.com/repos/hamazy/sri/stargazers","contributors_url":"https://api.github.com/repos/hamazy/sri/contributors","subscribers_url":"https://api.github.com/repos/hamazy/sri/subscribers","subscription_url":"https://api.github.com/repos/hamazy/sri/subscription","commits_url":"https://api.github.com/repos/hamazy/sri/commits{/sha}","git_commits_url":"https://api.github.com/repos/hamazy/sri/git/commits{/sha}","comments_url":"https://api.github.com/repos/hamazy/sri/comments{/number}","issue_comment_url":"https://api.github.com/repos/hamazy/sri/issues/comments{/number}","contents_url":"https://api.github.com/repos/hamazy/sri/contents/{+path}","compare_url":"https://api.github.com/repos/hamazy/sri/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hamazy/sri/merges","archive_url":"https://api.github.com/repos/hamazy/sri/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hamazy/sri/downloads","issues_url":"https://api.github.com/repos/hamazy/sri/issues{/number}","pulls_url":"https://api.github.com/repos/hamazy/sri/pulls{/number}","milestones_url":"https://api.github.com/repos/hamazy/sri/milestones{/number}","notifications_url":"https://api.github.com/repos/hamazy/sri/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hamazy/sri/labels{/name}","releases_url":"https://api.github.com/repos/hamazy/sri/releases{/id}","deployments_url":"https://api.github.com/repos/hamazy/sri/deployments","created_at":"2016-04-14T03:24:56Z","updated_at":"2016-04-14T03:24:57Z","pushed_at":"2016-05-25T03:54:39Z","git_url":"git://github.com/hamazy/sri.git","ssh_url":"git@github.com:hamazy/sri.git","clone_url":"https://github.com/hamazy/sri.git","svn_url":"https://github.com/hamazy/sri","homepage":"","size":40627,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"chandu0101:master","ref":"master","sha":"26b09f1643c6b30349ee8625be0e7e956ecb39ba","user":{"login":"chandu0101","id":2179670,"avatar_url":"https://avatars.githubusercontent.com/u/2179670?v=3","gravatar_id":"","url":"https://api.github.com/users/chandu0101","html_url":"https://github.com/chandu0101","followers_url":"https://api.github.com/users/chandu0101/followers","following_url":"https://api.github.com/users/chandu0101/following{/other_user}","gists_url":"https://api.github.com/users/chandu0101/gists{/gist_id}","starred_url":"https://api.github.com/users/chandu0101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chandu0101/subscriptions","organizations_url":"https://api.github.com/users/chandu0101/orgs","repos_url":"https://api.github.com/users/chandu0101/repos","events_url":"https://api.github.com/users/chandu0101/events{/privacy}","received_events_url":"https://api.github.com/users/chandu0101/received_events","type":"User","site_admin":false},"repo":{"id":39887221,"name":"sri","full_name":"chandu0101/sri","owner":{"login":"chandu0101","id":2179670,"avatar_url":"https://avatars.githubusercontent.com/u/2179670?v=3","gravatar_id":"","url":"https://api.github.com/users/chandu0101","html_url":"https://github.com/chandu0101","followers_url":"https://api.github.com/users/chandu0101/followers","following_url":"https://api.github.com/users/chandu0101/following{/other_user}","gists_url":"https://api.github.com/users/chandu0101/gists{/gist_id}","starred_url":"https://api.github.com/users/chandu0101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chandu0101/subscriptions","organizations_url":"https://api.github.com/users/chandu0101/orgs","repos_url":"https://api.github.com/users/chandu0101/repos","events_url":"https://api.github.com/users/chandu0101/events{/privacy}","received_events_url":"https://api.github.com/users/chandu0101/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chandu0101/sri","description":"Build truly native cross platform (web,ios,android) apps using scalajs and react, react-native","fork":false,"url":"https://api.github.com/repos/chandu0101/sri","forks_url":"https://api.github.com/repos/chandu0101/sri/forks","keys_url":"https://api.github.com/repos/chandu0101/sri/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chandu0101/sri/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chandu0101/sri/teams","hooks_url":"https://api.github.com/repos/chandu0101/sri/hooks","issue_events_url":"https://api.github.com/repos/chandu0101/sri/issues/events{/number}","events_url":"https://api.github.com/repos/chandu0101/sri/events","assignees_url":"https://api.github.com/repos/chandu0101/sri/assignees{/user}","branches_url":"https://api.github.com/repos/chandu0101/sri/branches{/branch}","tags_url":"https://api.github.com/repos/chandu0101/sri/tags","blobs_url":"https://api.github.com/repos/chandu0101/sri/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chandu0101/sri/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chandu0101/sri/git/refs{/sha}","trees_url":"https://api.github.com/repos/chandu0101/sri/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chandu0101/sri/statuses/{sha}","languages_url":"https://api.github.com/repos/chandu0101/sri/languages","stargazers_url":"https://api.github.com/repos/chandu0101/sri/stargazers","contributors_url":"https://api.github.com/repos/chandu0101/sri/contributors","subscribers_url":"https://api.github.com/repos/chandu0101/sri/subscribers","subscription_url":"https://api.github.com/repos/chandu0101/sri/subscription","commits_url":"https://api.github.com/repos/chandu0101/sri/commits{/sha}","git_commits_url":"https://api.github.com/repos/chandu0101/sri/git/commits{/sha}","comments_url":"https://api.github.com/repos/chandu0101/sri/comments{/number}","issue_comment_url":"https://api.github.com/repos/chandu0101/sri/issues/comments{/number}","contents_url":"https://api.github.com/repos/chandu0101/sri/contents/{+path}","compare_url":"https://api.github.com/repos/chandu0101/sri/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chandu0101/sri/merges","archive_url":"https://api.github.com/repos/chandu0101/sri/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chandu0101/sri/downloads","issues_url":"https://api.github.com/repos/chandu0101/sri/issues{/number}","pulls_url":"https://api.github.com/repos/chandu0101/sri/pulls{/number}","milestones_url":"https://api.github.com/repos/chandu0101/sri/milestones{/number}","notifications_url":"https://api.github.com/repos/chandu0101/sri/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chandu0101/sri/labels{/name}","releases_url":"https://api.github.com/repos/chandu0101/sri/releases{/id}","deployments_url":"https://api.github.com/repos/chandu0101/sri/deployments","created_at":"2015-07-29T10:16:10Z","updated_at":"2016-05-24T22:23:20Z","pushed_at":"2016-05-25T06:32:23Z","git_url":"git://github.com/chandu0101/sri.git","ssh_url":"git@github.com:chandu0101/sri.git","clone_url":"https://github.com/chandu0101/sri.git","svn_url":"https://github.com/chandu0101/sri","homepage":"","size":40683,"stargazers_count":469,"watchers_count":469,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":4,"forks":19,"open_issues":4,"watchers":469,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chandu0101/sri/pulls/40"},"html":{"href":"https://github.com/chandu0101/sri/pull/40"},"issue":{"href":"https://api.github.com/repos/chandu0101/sri/issues/40"},"comments":{"href":"https://api.github.com/repos/chandu0101/sri/issues/40/comments"},"review_comments":{"href":"https://api.github.com/repos/chandu0101/sri/pulls/40/comments"},"review_comment":{"href":"https://api.github.com/repos/chandu0101/sri/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chandu0101/sri/pulls/40/commits"},"statuses":{"href":"https://api.github.com/repos/chandu0101/sri/statuses/674b419ddbb65dbede52be79021f33cca73cfd0a"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"chandu0101","id":2179670,"avatar_url":"https://avatars.githubusercontent.com/u/2179670?v=3","gravatar_id":"","url":"https://api.github.com/users/chandu0101","html_url":"https://github.com/chandu0101","followers_url":"https://api.github.com/users/chandu0101/followers","following_url":"https://api.github.com/users/chandu0101/following{/other_user}","gists_url":"https://api.github.com/users/chandu0101/gists{/gist_id}","starred_url":"https://api.github.com/users/chandu0101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chandu0101/subscriptions","organizations_url":"https://api.github.com/users/chandu0101/orgs","repos_url":"https://api.github.com/users/chandu0101/repos","events_url":"https://api.github.com/users/chandu0101/events{/privacy}","received_events_url":"https://api.github.com/users/chandu0101/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":45,"deletions":4,"changed_files":2}}
{"actor":{"display_login":"chandu0101"}}