{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/4205","labels_url":"https://api.github.com/repos/facebook/react-native/issues/4205/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/4205/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/4205/events","html_url":"https://github.com/facebook/react-native/pull/4205","id":117593874,"number":4205,"title":"UIRefreshControl added to scroll view","user":{"login":"EwanThomas","id":15156672,"avatar_url":"https://avatars.githubusercontent.com/u/15156672?v=3","gravatar_id":"","url":"https://api.github.com/users/EwanThomas","html_url":"https://github.com/EwanThomas","followers_url":"https://api.github.com/users/EwanThomas/followers","following_url":"https://api.github.com/users/EwanThomas/following{/other_user}","gists_url":"https://api.github.com/users/EwanThomas/gists{/gist_id}","starred_url":"https://api.github.com/users/EwanThomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EwanThomas/subscriptions","organizations_url":"https://api.github.com/users/EwanThomas/orgs","repos_url":"https://api.github.com/users/EwanThomas/repos","events_url":"https://api.github.com/users/EwanThomas/events{/privacy}","received_events_url":"https://api.github.com/users/EwanThomas/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/facebook/react-native/labels/GH%20Review:%20review-needed","name":"GH Review: review-needed","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":35,"created_at":"2015-11-18T14:07:28Z","updated_at":"2015-12-10T09:16:15Z","closed_at":"2015-11-19T19:16:01Z","pull_request":{"url":"https://api.github.com/repos/facebook/react-native/pulls/4205","html_url":"https://github.com/facebook/react-native/pull/4205","diff_url":"https://github.com/facebook/react-native/pull/4205.diff","patch_url":"https://github.com/facebook/react-native/pull/4205.patch"},"body":"**What:**\r\n\r\nadds `onRefreshStart` property to `ScrollView.js` for displaying and activating pull to refresh.\r\n\r\n**Why:**\r\n\r\nJavascript implementations seemed a little flakey and inconsistent.  As you can see in the issues below:\r\n\r\nhttps://github.com/facebook/react-native/issues/2356\r\nhttps://github.com/facebook/react-native/issues/745\r\n\r\nSo this is an attempt a completely native implementation.\r\n\r\nWhat do you think?\r\n\r\n![Image of dog](http://i.imgur.com/HcTQnzJ.gif)"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/163540651","html_url":"https://github.com/facebook/react-native/pull/4205#issuecomment-163540651","issue_url":"https://api.github.com/repos/facebook/react-native/issues/4205","id":163540651,"user":{"login":"nicklockwood","id":546885,"avatar_url":"https://avatars.githubusercontent.com/u/546885?v=3","gravatar_id":"","url":"https://api.github.com/users/nicklockwood","html_url":"https://github.com/nicklockwood","followers_url":"https://api.github.com/users/nicklockwood/followers","following_url":"https://api.github.com/users/nicklockwood/following{/other_user}","gists_url":"https://api.github.com/users/nicklockwood/gists{/gist_id}","starred_url":"https://api.github.com/users/nicklockwood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicklockwood/subscriptions","organizations_url":"https://api.github.com/users/nicklockwood/orgs","repos_url":"https://api.github.com/users/nicklockwood/repos","events_url":"https://api.github.com/users/nicklockwood/events{/privacy}","received_events_url":"https://api.github.com/users/nicklockwood/received_events","type":"User","site_admin":false},"created_at":"2015-12-10T09:16:15Z","updated_at":"2015-12-10T09:16:15Z","body":"@ashleydw this is a deliberately simple API, designed to make it easier to port to Android, which has a wildly implementation than iOS.\r\n\r\nI think the main properties you might want to set on the iOS refresh control are the title and tintColor, correct?\r\n\r\nIf so, I see two options: Either we add two additional iOS-specific properties to ScrollView, which I'm not keen on, since it bloats the ScrollView API. Or, we could add a RefreshControlIOS that has these properties, and can be added as a child of the ScrollView. I think I'd prefer that, since it keeps the platform-specific stuff out of the shared API.\r\n\r\n@ide, @dmmiller - any thoughts?"}}