{ "id": "121963", "key": "TIMOB-15643", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2013-11-04T12:47:11.000+0000", "created": "2013-11-02T00:50:45.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [], "assignee": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "updated": "2017-03-22T20:45:01.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "h2. problem\r\n\r\nIf there are TableViewRows after a TableViewSection that contains a footerView, that section's footView will not appear. Please see the attached screenshot for a clearer picture.\r\n\r\nh2. test case\r\n\r\n{code:javascript}\r\nvar rowCtr = 0,\r\n\tdata = [];\r\n\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor: '#fff',\r\n\tfullscreen: false,\r\n\texitOnClose: true\r\n});\r\n\r\nvar section = Ti.UI.createTableViewSection({\r\n\theaderView: Ti.UI.createLabel({\r\n\t\ttext: 'headerView',\r\n\t\tbackgroundColor: '#a00',\r\n\t\tcolor: '#fff',\r\n\t\theight: '40dp',\r\n\t\twidth: Ti.UI.FILL\r\n\t}),\r\n\tfooterView: Ti.UI.createLabel({\r\n\t\ttext: 'footerView',\r\n\t\tbackgroundColor: '#00a',\r\n\t\tcolor: '#fff',\r\n\t\theight: '40dp',\r\n\t\twidth: Ti.UI.FILL\r\n\t})\r\n});\r\n\r\ngenRows(4, data);\r\ngenRows(4, section);\r\ndata.push(section);\r\ngenRows(4, data);\r\n\r\nvar table = Ti.UI.createTableView({\r\n\tdata: data\r\n});\r\n\r\nwin.add(table);\r\nwin.open();\r\n\r\nfunction genRows(num, obj) {\r\n\tvar isSection = typeof obj.length === 'undefined';\r\n\tfor (var i = 0; i < num; i++) {\r\n\t\tvar row = Ti.UI.createTableViewRow({\r\n\t\t\ttitle: (isSection ? 'section ' : '') + 'row ' + (++rowCtr)\r\n\t\t});\r\n\r\n\t\tif (!isSection) {\r\n\t\t\tobj.push(row);\r\n\t\t} else {\r\n\t\t\tobj.add(row);\r\n\t\t}\r\n\t}\r\n}\r\n{code}", "attachment": [ { "id": "43627", "filename": "Screen Shot 2013-11-01 at 8.50.11 PM.png", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-02T00:51:39.000+0000", "size": 32873, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: Rows after TableViewSection make section's footerView disappear", "creator": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "277939", "author": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "updateAuthor": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-11-04T12:47:11.000+0000", "updated": "2013-11-04T12:47:11.000+0000" }, { "id": "414914", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate of the ticket that is mentioned above and has since been closed.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-22T20:45:01.000+0000", "updated": "2017-03-22T20:45:01.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }