{"action":"opened","number":27,"pull_request":{"url":"https://api.github.com/repos/sunnylqm/react-native-alphabetlistview/pulls/27","id":96706464,"html_url":"https://github.com/sunnylqm/react-native-alphabetlistview/pull/27","diff_url":"https://github.com/sunnylqm/react-native-alphabetlistview/pull/27.diff","patch_url":"https://github.com/sunnylqm/react-native-alphabetlistview/pull/27.patch","issue_url":"https://api.github.com/repos/sunnylqm/react-native-alphabetlistview/issues/27","number":27,"state":"open","locked":false,"title":"check ref exists before measuring","user":{"login":"beeglebug","id":954416,"avatar_url":"https://avatars.githubusercontent.com/u/954416?v=3","gravatar_id":"","url":"https://api.github.com/users/beeglebug","html_url":"https://github.com/beeglebug","followers_url":"https://api.github.com/users/beeglebug/followers","following_url":"https://api.github.com/users/beeglebug/following{/other_user}","gists_url":"https://api.github.com/users/beeglebug/gists{/gist_id}","starred_url":"https://api.github.com/users/beeglebug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beeglebug/subscriptions","organizations_url":"https://api.github.com/users/beeglebug/orgs","repos_url":"https://api.github.com/users/beeglebug/repos","events_url":"https://api.github.com/users/beeglebug/events{/privacy}","received_events_url":"https://api.github.com/users/beeglebug/received_events","type":"User","site_admin":false},"body":"I added a quick guard clause to stop it trying to measure a ref which doesn't exist.\r\n\r\nThis allows you to give the list view an empty data set, and it will not error any more. Useful for me, as I have added a filter which may reduce the dataset to zero.","created_at":"2016-12-06T11:26:38Z","updated_at":"2016-12-06T11:26:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/sunnylqm/react-native-alphabetlistview/pulls/27/commits","review_comments_url":"https://api.github.com/repos/sunnylqm/react-native-alphabetlistview/pulls/27/comments","review_comment_url":"https://api.github.com/repos/sunnylqm/react-native-alphabetlistview/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sunnylqm/react-native-alphabetlistview/issues/27/comments","statuses_url":"https://api.github.com/repos/sunnylqm/react-native-alphabetlistview/statuses/213f9a8143f8a5e05c663f9baa93b07b5e483258","head":{"label":"beeglebug:master","ref":"master","sha":"213f9a8143f8a5e05c663f9baa93b07b5e483258","user":{"login":"beeglebug","id":954416,"avatar_url":"https://avatars.githubusercontent.com/u/954416?v=3","gravatar_id":"","url":"https://api.github.com/users/beeglebug","html_url":"https://github.com/beeglebug","followers_url":"https://api.github.com/users/beeglebug/followers","following_url":"https://api.github.com/users/beeglebug/following{/other_user}","gists_url":"https://api.github.com/users/beeglebug/gists{/gist_id}","starred_url":"https://api.github.com/users/beeglebug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beeglebug/subscriptions","organizations_url":"https://api.github.com/users/beeglebug/orgs","repos_url":"https://api.github.com/users/beeglebug/repos","events_url":"https://api.github.com/users/beeglebug/events{/privacy}","received_events_url":"https://api.github.com/users/beeglebug/received_events","type":"User","site_admin":false},"repo":{"id":75724430,"name":"react-native-alphabetlistview","full_name":"beeglebug/react-native-alphabetlistview","owner":{"login":"beeglebug","id":954416,"avatar_url":"https://avatars.githubusercontent.com/u/954416?v=3","gravatar_id":"","url":"https://api.github.com/users/beeglebug","html_url":"https://github.com/beeglebug","followers_url":"https://api.github.com/users/beeglebug/followers","following_url":"https://api.github.com/users/beeglebug/following{/other_user}","gists_url":"https://api.github.com/users/beeglebug/gists{/gist_id}","starred_url":"https://api.github.com/users/beeglebug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beeglebug/subscriptions","organizations_url":"https://api.github.com/users/beeglebug/orgs","repos_url":"https://api.github.com/users/beeglebug/repos","events_url":"https://api.github.com/users/beeglebug/events{/privacy}","received_events_url":"https://api.github.com/users/beeglebug/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/beeglebug/react-native-alphabetlistview","description":"A Listview with a sidebar to jump to sections directly","fork":true,"url":"https://api.github.com/repos/beeglebug/react-native-alphabetlistview","forks_url":"https://api.github.com/repos/beeglebug/react-native-alphabetlistview/forks","keys_url":"https://api.github.com/repos/beeglebug/react-native-alphabetlistview/keys{/key_id}","collaborators_url":"https://api.github.com/repos/beeglebug/react-native-alphabetlistview/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/beeglebug/react-native-alphabetlistview/teams","hooks_url":"https://api.github.com/repos/beeglebug/react-native-alphabetlistview/hooks","issue_events_url":"https://api.github.com/repos/beeglebug/react-native-alphabetlistview/issues/events{/number}","events_url":"https://api.github.com/repos/beeglebug/react-native-alphabetlistview/events","assignees_url":"https://api.github.com/repos/beeglebug/react-native-alphabetlistview/assignees{/user}","branches_url":"https://api.github.com/repos/beeglebug/react-native-alphabetlistview/branches{/branch}","tags_url":"https://api.github.com/repos/beeglebug/react-native-alphabetlistview/tags","blobs_url":"https://api.github.com/repos/beeglebug/react-native-alphabetlistview/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/beeglebug/react-native-alphabetlistview/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/beeglebug/react-native-alphabetlistview/git/refs{/sha}","trees_url":"https://api.github.com/repos/beeglebug/react-native-alphabetlistview/git/trees{/sha}","statuses_url":"https://api.github.com/repos/beeglebug/react-native-alphabetlistview/statuses/{sha}","languages_url":"https://api.github.com/repos/beeglebug/react-native-alphabetlistview/languages","stargazers_url":"https://api.github.com/repos/beeglebug/react-native-alphabetlistview/stargazers","contributors_url":"https://api.github.com/repos/beeglebug/react-native-alphabetlistview/contributors","subscribers_url":"https://api.github.com/repos/beeglebug/react-native-alphabetlistview/subscribers","subscription_url":"https://api.github.com/repos/beeglebug/react-native-alphabetlistview/subscription","commits_url":"https://api.github.com/repos/beeglebug/react-native-alphabetlistview/commits{/sha}","git_commits_url":"https://api.github.com/repos/beeglebug/react-native-alphabetlistview/git/commits{/sha}","comments_url":"https://api.github.com/repos/beeglebug/react-native-alphabetlistview/comments{/number}","issue_comment_url":"https://api.github.com/repos/beeglebug/react-native-alphabetlistview/issues/comments{/number}","contents_url":"https://api.github.com/repos/beeglebug/react-native-alphabetlistview/contents/{+path}","compare_url":"https://api.github.com/repos/beeglebug/react-native-alphabetlistview/compare/{base}...{head}","merges_url":"https://api.github.com/repos/beeglebug/react-native-alphabetlistview/merges","archive_url":"https://api.github.com/repos/beeglebug/react-native-alphabetlistview/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/beeglebug/react-native-alphabetlistview/downloads","issues_url":"https://api.github.com/repos/beeglebug/react-native-alphabetlistview/issues{/number}","pulls_url":"https://api.github.com/repos/beeglebug/react-native-alphabetlistview/pulls{/number}","milestones_url":"https://api.github.com/repos/beeglebug/react-native-alphabetlistview/milestones{/number}","notifications_url":"https://api.github.com/repos/beeglebug/react-native-alphabetlistview/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/beeglebug/react-native-alphabetlistview/labels{/name}","releases_url":"https://api.github.com/repos/beeglebug/react-native-alphabetlistview/releases{/id}","deployments_url":"https://api.github.com/repos/beeglebug/react-native-alphabetlistview/deployments","created_at":"2016-12-06T11:19:42Z","updated_at":"2016-12-06T11:19:43Z","pushed_at":"2016-12-06T11:24:13Z","git_url":"git://github.com/beeglebug/react-native-alphabetlistview.git","ssh_url":"git@github.com:beeglebug/react-native-alphabetlistview.git","clone_url":"https://github.com/beeglebug/react-native-alphabetlistview.git","svn_url":"https://github.com/beeglebug/react-native-alphabetlistview","homepage":null,"size":43,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"sunnylqm:master","ref":"master","sha":"8f92faf45e9cee160848f308a7753f0cdfeaf9cf","user":{"login":"sunnylqm","id":615282,"avatar_url":"https://avatars.githubusercontent.com/u/615282?v=3","gravatar_id":"","url":"https://api.github.com/users/sunnylqm","html_url":"https://github.com/sunnylqm","followers_url":"https://api.github.com/users/sunnylqm/followers","following_url":"https://api.github.com/users/sunnylqm/following{/other_user}","gists_url":"https://api.github.com/users/sunnylqm/gists{/gist_id}","starred_url":"https://api.github.com/users/sunnylqm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunnylqm/subscriptions","organizations_url":"https://api.github.com/users/sunnylqm/orgs","repos_url":"https://api.github.com/users/sunnylqm/repos","events_url":"https://api.github.com/users/sunnylqm/events{/privacy}","received_events_url":"https://api.github.com/users/sunnylqm/received_events","type":"User","site_admin":false},"repo":{"id":45178453,"name":"react-native-alphabetlistview","full_name":"sunnylqm/react-native-alphabetlistview","owner":{"login":"sunnylqm","id":615282,"avatar_url":"https://avatars.githubusercontent.com/u/615282?v=3","gravatar_id":"","url":"https://api.github.com/users/sunnylqm","html_url":"https://github.com/sunnylqm","followers_url":"https://api.github.com/users/sunnylqm/followers","following_url":"https://api.github.com/users/sunnylqm/following{/other_user}","gists_url":"https://api.github.com/users/sunnylqm/gists{/gist_id}","starred_url":"https://api.github.com/users/sunnylqm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunnylqm/subscriptions","organizations_url":"https://api.github.com/users/sunnylqm/orgs","repos_url":"https://api.github.com/users/sunnylqm/repos","events_url":"https://api.github.com/users/sunnylqm/events{/privacy}","received_events_url":"https://api.github.com/users/sunnylqm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sunnylqm/react-native-alphabetlistview","description":"A Listview with a sidebar to jump to sections directly","fork":true,"url":"https://api.github.com/repos/sunnylqm/react-native-alphabetlistview","forks_url":"https://api.github.com/repos/sunnylqm/react-native-alphabetlistview/forks","keys_url":"https://api.github.com/repos/sunnylqm/react-native-alphabetlistview/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sunnylqm/react-native-alphabetlistview/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sunnylqm/react-native-alphabetlistview/teams","hooks_url":"https://api.github.com/repos/sunnylqm/react-native-alphabetlistview/hooks","issue_events_url":"https://api.github.com/repos/sunnylqm/react-native-alphabetlistview/issues/events{/number}","events_url":"https://api.github.com/repos/sunnylqm/react-native-alphabetlistview/events","assignees_url":"https://api.github.com/repos/sunnylqm/react-native-alphabetlistview/assignees{/user}","branches_url":"https://api.github.com/repos/sunnylqm/react-native-alphabetlistview/branches{/branch}","tags_url":"https://api.github.com/repos/sunnylqm/react-native-alphabetlistview/tags","blobs_url":"https://api.github.com/repos/sunnylqm/react-native-alphabetlistview/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sunnylqm/react-native-alphabetlistview/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sunnylqm/react-native-alphabetlistview/git/refs{/sha}","trees_url":"https://api.github.com/repos/sunnylqm/react-native-alphabetlistview/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sunnylqm/react-native-alphabetlistview/statuses/{sha}","languages_url":"https://api.github.com/repos/sunnylqm/react-native-alphabetlistview/languages","stargazers_url":"https://api.github.com/repos/sunnylqm/react-native-alphabetlistview/stargazers","contributors_url":"https://api.github.com/repos/sunnylqm/react-native-alphabetlistview/contributors","subscribers_url":"https://api.github.com/repos/sunnylqm/react-native-alphabetlistview/subscribers","subscription_url":"https://api.github.com/repos/sunnylqm/react-native-alphabetlistview/subscription","commits_url":"https://api.github.com/repos/sunnylqm/react-native-alphabetlistview/commits{/sha}","git_commits_url":"https://api.github.com/repos/sunnylqm/react-native-alphabetlistview/git/commits{/sha}","comments_url":"https://api.github.com/repos/sunnylqm/react-native-alphabetlistview/comments{/number}","issue_comment_url":"https://api.github.com/repos/sunnylqm/react-native-alphabetlistview/issues/comments{/number}","contents_url":"https://api.github.com/repos/sunnylqm/react-native-alphabetlistview/contents/{+path}","compare_url":"https://api.github.com/repos/sunnylqm/react-native-alphabetlistview/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sunnylqm/react-native-alphabetlistview/merges","archive_url":"https://api.github.com/repos/sunnylqm/react-native-alphabetlistview/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sunnylqm/react-native-alphabetlistview/downloads","issues_url":"https://api.github.com/repos/sunnylqm/react-native-alphabetlistview/issues{/number}","pulls_url":"https://api.github.com/repos/sunnylqm/react-native-alphabetlistview/pulls{/number}","milestones_url":"https://api.github.com/repos/sunnylqm/react-native-alphabetlistview/milestones{/number}","notifications_url":"https://api.github.com/repos/sunnylqm/react-native-alphabetlistview/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sunnylqm/react-native-alphabetlistview/labels{/name}","releases_url":"https://api.github.com/repos/sunnylqm/react-native-alphabetlistview/releases{/id}","deployments_url":"https://api.github.com/repos/sunnylqm/react-native-alphabetlistview/deployments","created_at":"2015-10-29T11:17:26Z","updated_at":"2016-12-06T02:42:11Z","pushed_at":"2016-12-06T11:26:38Z","git_url":"git://github.com/sunnylqm/react-native-alphabetlistview.git","ssh_url":"git@github.com:sunnylqm/react-native-alphabetlistview.git","clone_url":"https://github.com/sunnylqm/react-native-alphabetlistview.git","svn_url":"https://github.com/sunnylqm/react-native-alphabetlistview","homepage":null,"size":43,"stargazers_count":119,"watchers_count":119,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":43,"mirror_url":null,"open_issues_count":13,"forks":43,"open_issues":13,"watchers":119,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sunnylqm/react-native-alphabetlistview/pulls/27"},"html":{"href":"https://github.com/sunnylqm/react-native-alphabetlistview/pull/27"},"issue":{"href":"https://api.github.com/repos/sunnylqm/react-native-alphabetlistview/issues/27"},"comments":{"href":"https://api.github.com/repos/sunnylqm/react-native-alphabetlistview/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/sunnylqm/react-native-alphabetlistview/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/sunnylqm/react-native-alphabetlistview/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sunnylqm/react-native-alphabetlistview/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/sunnylqm/react-native-alphabetlistview/statuses/213f9a8143f8a5e05c663f9baa93b07b5e483258"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":3,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"beeglebug"}}