{ "id": "63825", "key": "TIMOB-3193", "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": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2014-03-05T22:16:55.000+0000", "created": "2011-04-15T03:39:10.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "api" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [], "assignee": { "name": "bijuexalture", "key": "bijuexalture", "displayName": "Biju pm", "active": true, "timeZone": "Asia/Kolkata" }, "updated": "2017-03-30T22:12:22.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": "{html}

It's impossible to set a footer view to tableView after setting\r\nrow data only on Android as following:

\r\n
\r\nvar footerView = Ti.UI.createLabel({\r\n  text: \"Add Row\",\r\n  height: 60\r\n});\r\ntableView.footerView = footerView; // This works on both iPhone and Android.\r\ntableView.setData(rowData);\r\ntableView.footerView = footerView; // This wokrs only on iPhone.\r\n
{html}", "attachment": [], "flagged": false, "summary": "Android: setting a view to tableView.footerView after setData is not available only on Android", "creator": { "name": "studiohitori", "key": "studiohitori", "displayName": "StudioHitori", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "studiohitori", "key": "studiohitori", "displayName": "StudioHitori", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "130259", "author": { "name": "studiohitori", "key": "studiohitori", "displayName": "StudioHitori", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

I forgot to write version info. I use Titanium mobile ver 1.6RC1\nand Android ver 2.2.

{html}", "updateAuthor": { "name": "studiohitori", "key": "studiohitori", "displayName": "StudioHitori", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:39:10.000+0000", "updated": "2011-04-15T03:39:10.000+0000" }, { "id": "217230", "author": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "body": "Tested on a Samsung Galaxy S2 using TiSDK 2.2.0v20120830102513, issue still valid. \r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({backgroundColor: 'white'});\r\n\r\nvar label = Ti.UI.createLabel({text: 'add row', height: 60, backgroundColor: 'red'});\r\n\r\nvar tableData = [{title: 'Apples'}, {title: 'Bananas'}, {title: 'Carrots'}, {title: 'Potatoes'}];\r\n\r\nvar tableView = Ti.UI.createTableView();\r\nwin.add(tableView);\r\n\r\n//tableView.footerView = label;\r\ntableView.setData(tableData);\r\ntableView.footerView = label;\r\n\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "created": "2012-08-31T13:41:56.000+0000", "updated": "2012-08-31T13:42:11.000+0000" }, { "id": "286715", "author": { "name": "bijuexalture", "key": "bijuexalture", "displayName": "Biju pm", "active": true, "timeZone": "Asia/Kolkata" }, "body": "PR :- https://github.com/appcelerator/titanium_mobile/pull/5187", "updateAuthor": { "name": "bijuexalture", "key": "bijuexalture", "displayName": "Biju pm", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2014-01-06T05:13:45.000+0000", "updated": "2014-01-06T05:13:45.000+0000" }, { "id": "295816", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Can not reproduce with latest master", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-03-05T22:15:59.000+0000", "updated": "2014-03-05T22:15:59.000+0000" }, { "id": "416401", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as I am unable to reproduce the issue using the following environment; \r\nPixel (7.1) \r\nMacOS 10.11.6 (15G31) \r\nStudio 4.8.1.201612050850 \r\nTi SDK 6.0.3 GA \r\nAppc NPM 4.2.8 \r\nAppc CLI 6.1.0 \r\nTi CLI 5.0.11 \r\nAlloy 1.9.5 \r\nArrow 1.10.1 \r\nXcode 8.2 (8C38) \r\nNode v4.6.0 \r\nJava 1.7.0_80", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-30T22:12:22.000+0000", "updated": "2017-03-30T22:12:22.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }