{ "id": "138340", "key": "AC-1521", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2015-04-21T18:38:44.000+0000", "created": "2014-10-21T10:18:56.000+0000", "labels": [ "TCSupportTriage", "andorid", "footerview", "listview" ], "versions": [], "issuelinks": [], "assignee": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:37:58.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "Android - Unable to set footerView of ListView once it is rendered.\r\n\r\nHas no effect when use,\r\n\r\n{code}\r\n$.listView.footerView = footerView;\r\n{code}\r\n\r\nand when setFooterView is called, the following error is printed on the console.\r\n\r\n{code}\r\n[ERROR] : TiExceptionHandler: (main) [6821,8711] ----- Titanium Javascript Runtime Error -----\r\n[ERROR] : TiExceptionHandler: (main) [0,8711] - In undefined:35,20\r\n[ERROR] : TiExceptionHandler: (main) [1,8712] - Message: Uncaught TypeError: Object # has no method 'setFooterView'\r\n[ERROR] : TiExceptionHandler: (main) [0,8712] - Source: $.listView.setFooterView(null);\r\n[ERROR] : V8Exception: Exception occurred at undefined:35: Uncaught TypeError: Object # has no method 'setFooterView'\r\n{code}\r\n\r\nAdditional notes : Works as expected on iOS. On Android - able to set footerView only on creation.", "attachment": [], "flagged": false, "summary": "ListView.footerView / setFooterView(view) is not working on Android", "creator": { "name": "mano_mykingdom", "key": "mano_mykingdom", "displayName": "Manojkumar Murugesan", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "mano_mykingdom", "key": "mano_mykingdom", "displayName": "Manojkumar Murugesan", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "Studio & SDK - 3.4.0.GA \r\nAlloy 1.5.1\r\nOS - Android 4.4.4 \r\nDevice - Google Nexus", "closedSprints": [ { "id": 371, "state": "closed", "name": "2015 Sprint 08 SDK", "startDate": "2015-04-11T00:00:49.626Z", "endDate": "2015-04-24T12:00:00.000Z", "completeDate": "2015-04-28T15:02:06.073Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "350281", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "On Android, headerView and footerView are creation only properties (http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.ListView-property-headerView). This is because it is required that we have to add header and footer views before setting the adapter.", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-04-21T18:38:13.000+0000", "updated": "2015-04-21T18:38:13.000+0000" }, { "id": "350284", "author": { "name": "mano_mykingdom", "key": "mano_mykingdom", "displayName": "Manojkumar Murugesan", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Hi [~hpham], This is not documented in list view. It must be documented.", "updateAuthor": { "name": "mano_mykingdom", "key": "mano_mykingdom", "displayName": "Manojkumar Murugesan", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2015-04-21T18:42:17.000+0000", "updated": "2015-04-21T18:42:17.000+0000" }, { "id": "350295", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Manoj, this is documented: http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.ListView-property-headerView", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-04-21T19:25:58.000+0000", "updated": "2015-04-21T19:25:58.000+0000" }, { "id": "350299", "author": { "name": "mano_mykingdom", "key": "mano_mykingdom", "displayName": "Manojkumar Murugesan", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Sorry, It is documented. My bad :(", "updateAuthor": { "name": "mano_mykingdom", "key": "mano_mykingdom", "displayName": "Manojkumar Murugesan", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2015-04-21T19:40:37.000+0000", "updated": "2015-04-21T19:40:37.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }