{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/11315","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/11315/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/11315/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/11315/events","html_url":"https://github.com/facebook/react-native/pull/11315","id":193676512,"number":11315,"title":"Implement sticky headers in JS using Native Animated","user":{"login":"janicduplessis","id":2677334,"avatar_url":"https://avatars1.githubusercontent.com/u/2677334?v=3","gravatar_id":"","url":"https://api.github.com/users/janicduplessis","html_url":"https://github.com/janicduplessis","followers_url":"https://api.github.com/users/janicduplessis/followers","following_url":"https://api.github.com/users/janicduplessis/following{/other_user}","gists_url":"https://api.github.com/users/janicduplessis/gists{/gist_id}","starred_url":"https://api.github.com/users/janicduplessis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janicduplessis/subscriptions","organizations_url":"https://api.github.com/users/janicduplessis/orgs","repos_url":"https://api.github.com/users/janicduplessis/repos","events_url":"https://api.github.com/users/janicduplessis/events{/privacy}","received_events_url":"https://api.github.com/users/janicduplessis/received_events","type":"User","site_admin":false},"labels":[{"id":439623481,"url":"https://api.github.com/repos/facebook/react-native/labels/Animated","name":"Animated","color":"006b75","default":false},{"id":196858975,"url":"https://api.github.com/repos/facebook/react-native/labels/CLA%20Signed","name":"CLA Signed","color":"e7e7e7","default":false},{"id":468774151,"url":"https://api.github.com/repos/facebook/react-native/labels/Core%20Team","name":"Core Team","color":"0052cc","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":52,"created_at":"2016-12-06T03:49:54Z","updated_at":"2017-03-10T13:17:29Z","closed_at":"2017-03-02T23:16:00Z","pull_request":{"url":"https://api.github.com/repos/facebook/react-native/pulls/11315","html_url":"https://github.com/facebook/react-native/pull/11315","diff_url":"https://github.com/facebook/react-native/pull/11315.diff","patch_url":"https://github.com/facebook/react-native/pull/11315.patch"},"body":"This re-implements sticky headers in JS to make it work on Android.\r\n\r\nThe only change that was needed was to expose a way to attach a an animated value to an event manually since we can't use the Animated wrapper and `Animated.event` to do it for us because this is implemented directly in the `ScrollView` component. Simply exposed `attachNativeEvent` that takes a ref, event name and event object mapping. This is what is used by `Animated.event`.\r\n\r\nTODO:\r\n- Need to check why momentum scrolling isn't triggering scroll events properly on Android.\r\n- Remove native iOS implementation\r\n- cleanup / fix flow\r\n\r\n**Test plan**\r\nTest the example list in UIExplorer, test the ListViewPaging example."},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/285666637","html_url":"https://github.com/facebook/react-native/pull/11315#issuecomment-285666637","issue_url":"https://api.github.com/repos/facebook/react-native/issues/11315","id":285666637,"user":{"login":"jasan-s","id":13863953,"avatar_url":"https://avatars0.githubusercontent.com/u/13863953?v=3","gravatar_id":"","url":"https://api.github.com/users/jasan-s","html_url":"https://github.com/jasan-s","followers_url":"https://api.github.com/users/jasan-s/followers","following_url":"https://api.github.com/users/jasan-s/following{/other_user}","gists_url":"https://api.github.com/users/jasan-s/gists{/gist_id}","starred_url":"https://api.github.com/users/jasan-s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasan-s/subscriptions","organizations_url":"https://api.github.com/users/jasan-s/orgs","repos_url":"https://api.github.com/users/jasan-s/repos","events_url":"https://api.github.com/users/jasan-s/events{/privacy}","received_events_url":"https://api.github.com/users/jasan-s/received_events","type":"User","site_admin":false},"created_at":"2017-03-10T13:17:29Z","updated_at":"2017-03-10T13:17:29Z","body":"is the latest commit still failing test?"}}
{"actor":{"display_login":"jasan-s"}}