{"action":"opened","number":582,"pull_request":{"url":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/pulls/582","id":62584635,"html_url":"https://github.com/appcelerator/titanium_mobile_windows/pull/582","diff_url":"https://github.com/appcelerator/titanium_mobile_windows/pull/582.diff","patch_url":"https://github.com/appcelerator/titanium_mobile_windows/pull/582.patch","issue_url":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/issues/582","number":582,"state":"open","locked":false,"title":"[TIMOB-19956] Fix Ti.UI.ListView footerView, footerTitle and headerTitle","user":{"login":"garymathews","id":8366993,"avatar_url":"https://avatars.githubusercontent.com/u/8366993?v=3","gravatar_id":"","url":"https://api.github.com/users/garymathews","html_url":"https://github.com/garymathews","followers_url":"https://api.github.com/users/garymathews/followers","following_url":"https://api.github.com/users/garymathews/following{/other_user}","gists_url":"https://api.github.com/users/garymathews/gists{/gist_id}","starred_url":"https://api.github.com/users/garymathews/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garymathews/subscriptions","organizations_url":"https://api.github.com/users/garymathews/orgs","repos_url":"https://api.github.com/users/garymathews/repos","events_url":"https://api.github.com/users/garymathews/events{/privacy}","received_events_url":"https://api.github.com/users/garymathews/received_events","type":"User","site_admin":false},"body":"- Only show a header or footer if either ```headerView``` ```headerTitle``` ```footerView``` ```footerTitle``` are set\r\n- Implemented ```footerView``` and ```footerTitle``` functionality\r\n- Added validation to ```headerView``` and ```footerView```\r\n\r\n###### TEST CASE\r\n```Javascript\r\nvar win = Ti.UI.createWindow({backgroundColor: 'white'}),\r\n    listView = Ti.UI.createListView(),\r\n    ukHeaderView = Ti.UI.createView({backgroundColor: 'black', height: 42}),\r\n    ukFooterView = Ti.UI.createView({backgroundColor: 'black', height: 42}),\r\n    ukSection = Ti.UI.createListSection({headerView: ukHeaderView, footerView: ukFooterView}),\r\n    usSection = Ti.UI.createListSection({headerTitle: 'English US Header', footerTitle: 'English US Footer'});\r\n\r\nukHeaderView.add(Ti.UI.createLabel({text: 'English UK Header', color: 'white'}));\r\nukFooterView.add(Ti.UI.createLabel({text: 'English UK Footer', color: 'white'}));\r\nukSection.setItems([\r\n    {properties: {title: 'Lift', color: 'black'}},\r\n    {properties: {title: 'Lorry', color: 'black'}},\r\n    {properties: {title: 'Motorway', color: 'black'}}\r\n]);\r\nlistView.appendSection(ukSection);\r\n\r\nusSection.setItems([\r\n    {properties: {title: 'Elevator', color: 'black'}},\r\n    {properties: {title: 'Truck', color: 'black'}},\r\n    {properties: {title: 'Freeway', color: 'black'}}\r\n]);\r\nlistView.appendSection(usSection);\r\n\r\nwin.add(listView);\r\nwin.open();\r\n```\r\n\r\n[TIMOB-19956](https://jira.appcelerator.org/browse/TIMOB-19956)","created_at":"2016-03-11T18:41:46Z","updated_at":"2016-03-11T18:41:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/pulls/582/commits","review_comments_url":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/pulls/582/comments","review_comment_url":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/pulls/comments{/number}","comments_url":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/issues/582/comments","statuses_url":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/statuses/94bdc5d5b578ebe691a76be58c5cbb4dfdcf76e4","head":{"label":"garymathews:TIMOB-19956","ref":"TIMOB-19956","sha":"94bdc5d5b578ebe691a76be58c5cbb4dfdcf76e4","user":{"login":"garymathews","id":8366993,"avatar_url":"https://avatars.githubusercontent.com/u/8366993?v=3","gravatar_id":"","url":"https://api.github.com/users/garymathews","html_url":"https://github.com/garymathews","followers_url":"https://api.github.com/users/garymathews/followers","following_url":"https://api.github.com/users/garymathews/following{/other_user}","gists_url":"https://api.github.com/users/garymathews/gists{/gist_id}","starred_url":"https://api.github.com/users/garymathews/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garymathews/subscriptions","organizations_url":"https://api.github.com/users/garymathews/orgs","repos_url":"https://api.github.com/users/garymathews/repos","events_url":"https://api.github.com/users/garymathews/events{/privacy}","received_events_url":"https://api.github.com/users/garymathews/received_events","type":"User","site_admin":false},"repo":{"id":33338459,"name":"titanium_mobile_windows","full_name":"garymathews/titanium_mobile_windows","owner":{"login":"garymathews","id":8366993,"avatar_url":"https://avatars.githubusercontent.com/u/8366993?v=3","gravatar_id":"","url":"https://api.github.com/users/garymathews","html_url":"https://github.com/garymathews","followers_url":"https://api.github.com/users/garymathews/followers","following_url":"https://api.github.com/users/garymathews/following{/other_user}","gists_url":"https://api.github.com/users/garymathews/gists{/gist_id}","starred_url":"https://api.github.com/users/garymathews/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garymathews/subscriptions","organizations_url":"https://api.github.com/users/garymathews/orgs","repos_url":"https://api.github.com/users/garymathews/repos","events_url":"https://api.github.com/users/garymathews/events{/privacy}","received_events_url":"https://api.github.com/users/garymathews/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/garymathews/titanium_mobile_windows","description":"Windows platform for Titanium Mobile","fork":true,"url":"https://api.github.com/repos/garymathews/titanium_mobile_windows","forks_url":"https://api.github.com/repos/garymathews/titanium_mobile_windows/forks","keys_url":"https://api.github.com/repos/garymathews/titanium_mobile_windows/keys{/key_id}","collaborators_url":"https://api.github.com/repos/garymathews/titanium_mobile_windows/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/garymathews/titanium_mobile_windows/teams","hooks_url":"https://api.github.com/repos/garymathews/titanium_mobile_windows/hooks","issue_events_url":"https://api.github.com/repos/garymathews/titanium_mobile_windows/issues/events{/number}","events_url":"https://api.github.com/repos/garymathews/titanium_mobile_windows/events","assignees_url":"https://api.github.com/repos/garymathews/titanium_mobile_windows/assignees{/user}","branches_url":"https://api.github.com/repos/garymathews/titanium_mobile_windows/branches{/branch}","tags_url":"https://api.github.com/repos/garymathews/titanium_mobile_windows/tags","blobs_url":"https://api.github.com/repos/garymathews/titanium_mobile_windows/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/garymathews/titanium_mobile_windows/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/garymathews/titanium_mobile_windows/git/refs{/sha}","trees_url":"https://api.github.com/repos/garymathews/titanium_mobile_windows/git/trees{/sha}","statuses_url":"https://api.github.com/repos/garymathews/titanium_mobile_windows/statuses/{sha}","languages_url":"https://api.github.com/repos/garymathews/titanium_mobile_windows/languages","stargazers_url":"https://api.github.com/repos/garymathews/titanium_mobile_windows/stargazers","contributors_url":"https://api.github.com/repos/garymathews/titanium_mobile_windows/contributors","subscribers_url":"https://api.github.com/repos/garymathews/titanium_mobile_windows/subscribers","subscription_url":"https://api.github.com/repos/garymathews/titanium_mobile_windows/subscription","commits_url":"https://api.github.com/repos/garymathews/titanium_mobile_windows/commits{/sha}","git_commits_url":"https://api.github.com/repos/garymathews/titanium_mobile_windows/git/commits{/sha}","comments_url":"https://api.github.com/repos/garymathews/titanium_mobile_windows/comments{/number}","issue_comment_url":"https://api.github.com/repos/garymathews/titanium_mobile_windows/issues/comments{/number}","contents_url":"https://api.github.com/repos/garymathews/titanium_mobile_windows/contents/{+path}","compare_url":"https://api.github.com/repos/garymathews/titanium_mobile_windows/compare/{base}...{head}","merges_url":"https://api.github.com/repos/garymathews/titanium_mobile_windows/merges","archive_url":"https://api.github.com/repos/garymathews/titanium_mobile_windows/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/garymathews/titanium_mobile_windows/downloads","issues_url":"https://api.github.com/repos/garymathews/titanium_mobile_windows/issues{/number}","pulls_url":"https://api.github.com/repos/garymathews/titanium_mobile_windows/pulls{/number}","milestones_url":"https://api.github.com/repos/garymathews/titanium_mobile_windows/milestones{/number}","notifications_url":"https://api.github.com/repos/garymathews/titanium_mobile_windows/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/garymathews/titanium_mobile_windows/labels{/name}","releases_url":"https://api.github.com/repos/garymathews/titanium_mobile_windows/releases{/id}","deployments_url":"https://api.github.com/repos/garymathews/titanium_mobile_windows/deployments","created_at":"2015-04-03T00:29:40Z","updated_at":"2016-01-13T19:33:49Z","pushed_at":"2016-03-11T18:35:28Z","git_url":"git://github.com/garymathews/titanium_mobile_windows.git","ssh_url":"git@github.com:garymathews/titanium_mobile_windows.git","clone_url":"https://github.com/garymathews/titanium_mobile_windows.git","svn_url":"https://github.com/garymathews/titanium_mobile_windows","homepage":null,"size":60839,"stargazers_count":0,"watchers_count":0,"language":"C","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":"appcelerator:master","ref":"master","sha":"065f7b2bd03a82a4fa3be5fde0682d8e0d2e9be9","user":{"login":"appcelerator","id":82188,"avatar_url":"https://avatars.githubusercontent.com/u/82188?v=3","gravatar_id":"","url":"https://api.github.com/users/appcelerator","html_url":"https://github.com/appcelerator","followers_url":"https://api.github.com/users/appcelerator/followers","following_url":"https://api.github.com/users/appcelerator/following{/other_user}","gists_url":"https://api.github.com/users/appcelerator/gists{/gist_id}","starred_url":"https://api.github.com/users/appcelerator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appcelerator/subscriptions","organizations_url":"https://api.github.com/users/appcelerator/orgs","repos_url":"https://api.github.com/users/appcelerator/repos","events_url":"https://api.github.com/users/appcelerator/events{/privacy}","received_events_url":"https://api.github.com/users/appcelerator/received_events","type":"Organization","site_admin":false},"repo":{"id":27684398,"name":"titanium_mobile_windows","full_name":"appcelerator/titanium_mobile_windows","owner":{"login":"appcelerator","id":82188,"avatar_url":"https://avatars.githubusercontent.com/u/82188?v=3","gravatar_id":"","url":"https://api.github.com/users/appcelerator","html_url":"https://github.com/appcelerator","followers_url":"https://api.github.com/users/appcelerator/followers","following_url":"https://api.github.com/users/appcelerator/following{/other_user}","gists_url":"https://api.github.com/users/appcelerator/gists{/gist_id}","starred_url":"https://api.github.com/users/appcelerator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appcelerator/subscriptions","organizations_url":"https://api.github.com/users/appcelerator/orgs","repos_url":"https://api.github.com/users/appcelerator/repos","events_url":"https://api.github.com/users/appcelerator/events{/privacy}","received_events_url":"https://api.github.com/users/appcelerator/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/appcelerator/titanium_mobile_windows","description":"Windows platform for Titanium Mobile","fork":false,"url":"https://api.github.com/repos/appcelerator/titanium_mobile_windows","forks_url":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/forks","keys_url":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/keys{/key_id}","collaborators_url":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/teams","hooks_url":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/hooks","issue_events_url":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/issues/events{/number}","events_url":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/events","assignees_url":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/assignees{/user}","branches_url":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/branches{/branch}","tags_url":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/tags","blobs_url":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/git/refs{/sha}","trees_url":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/git/trees{/sha}","statuses_url":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/statuses/{sha}","languages_url":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/languages","stargazers_url":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/stargazers","contributors_url":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/contributors","subscribers_url":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/subscribers","subscription_url":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/subscription","commits_url":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/commits{/sha}","git_commits_url":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/git/commits{/sha}","comments_url":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/comments{/number}","issue_comment_url":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/issues/comments{/number}","contents_url":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/contents/{+path}","compare_url":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/compare/{base}...{head}","merges_url":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/merges","archive_url":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/downloads","issues_url":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/issues{/number}","pulls_url":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/pulls{/number}","milestones_url":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/milestones{/number}","notifications_url":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/labels{/name}","releases_url":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/releases{/id}","deployments_url":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/deployments","created_at":"2014-12-07T20:55:18Z","updated_at":"2016-02-04T05:46:38Z","pushed_at":"2016-03-11T00:52:22Z","git_url":"git://github.com/appcelerator/titanium_mobile_windows.git","ssh_url":"git@github.com:appcelerator/titanium_mobile_windows.git","clone_url":"https://github.com/appcelerator/titanium_mobile_windows.git","svn_url":"https://github.com/appcelerator/titanium_mobile_windows","homepage":null,"size":66538,"stargazers_count":9,"watchers_count":9,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":3,"forks":12,"open_issues":3,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/pulls/582"},"html":{"href":"https://github.com/appcelerator/titanium_mobile_windows/pull/582"},"issue":{"href":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/issues/582"},"comments":{"href":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/issues/582/comments"},"review_comments":{"href":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/pulls/582/comments"},"review_comment":{"href":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/pulls/582/commits"},"statuses":{"href":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/statuses/94bdc5d5b578ebe691a76be58c5cbb4dfdcf76e4"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":50,"deletions":17,"changed_files":2}}