{"action":"created","issue":{"url":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/issues/582","repository_url":"https://api.github.com/repos/appcelerator/titanium_mobile_windows","labels_url":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/issues/582/labels{/name}","comments_url":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/issues/582/comments","events_url":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/issues/582/events","html_url":"https://github.com/appcelerator/titanium_mobile_windows/pull/582","id":140259331,"number":582,"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},"labels":[],"state":"closed","locked":false,"assignee":{"login":"infosia","id":1661068,"avatar_url":"https://avatars.githubusercontent.com/u/1661068?v=3","gravatar_id":"","url":"https://api.github.com/users/infosia","html_url":"https://github.com/infosia","followers_url":"https://api.github.com/users/infosia/followers","following_url":"https://api.github.com/users/infosia/following{/other_user}","gists_url":"https://api.github.com/users/infosia/gists{/gist_id}","starred_url":"https://api.github.com/users/infosia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/infosia/subscriptions","organizations_url":"https://api.github.com/users/infosia/orgs","repos_url":"https://api.github.com/users/infosia/repos","events_url":"https://api.github.com/users/infosia/events{/privacy}","received_events_url":"https://api.github.com/users/infosia/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2016-03-11T18:41:46Z","updated_at":"2016-03-18T10:29:51Z","closed_at":"2016-03-18T10:29:51Z","pull_request":{"url":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/pulls/582","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"},"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)"},"comment":{"url":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/issues/comments/198297746","html_url":"https://github.com/appcelerator/titanium_mobile_windows/pull/582#issuecomment-198297746","issue_url":"https://api.github.com/repos/appcelerator/titanium_mobile_windows/issues/582","id":198297746,"user":{"login":"infosia","id":1661068,"avatar_url":"https://avatars.githubusercontent.com/u/1661068?v=3","gravatar_id":"","url":"https://api.github.com/users/infosia","html_url":"https://github.com/infosia","followers_url":"https://api.github.com/users/infosia/followers","following_url":"https://api.github.com/users/infosia/following{/other_user}","gists_url":"https://api.github.com/users/infosia/gists{/gist_id}","starred_url":"https://api.github.com/users/infosia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/infosia/subscriptions","organizations_url":"https://api.github.com/users/infosia/orgs","repos_url":"https://api.github.com/users/infosia/repos","events_url":"https://api.github.com/users/infosia/events{/privacy}","received_events_url":"https://api.github.com/users/infosia/received_events","type":"User","site_admin":false},"created_at":"2016-03-18T10:29:51Z","updated_at":"2016-03-18T10:29:51Z","body":"Closing, as taken over by #585 "}}