{ "id": "117133", "key": "AC-1801", "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": "2013-07-12T23:09:26.000+0000", "created": "2013-07-12T11:50:26.000+0000", "labels": [ "iOS", "listview", "parity" ], "versions": [], "issuelinks": [], "assignee": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updated": "2016-03-08T07:40:42.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": "*Problem*\r\nOn iOS, ListView fills the screen with separators for non-full ListViews. Android looks better without the lines.\r\n\r\n*Test case*\r\n{code:javascript}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor : 'white'\r\n});\r\nvar listView = Ti.UI.createListView({\r\n\ttop : 0\r\n\t//, height: Ti.UI.SIZE this causes a bug on iOS.... another issue\r\n});\r\n\r\nvar section = Ti.UI.createListSection({\r\n\theaderTitle : 'header'\r\n});\r\nsection.setItems([{\r\n\tproperties : {\r\n\t\ttitle : 'iOS has lines for non-existent rows'\r\n\t}\r\n}]);\r\n// section.footerTitle = 'a non-null string'; will get rid of the lines\r\n// but what if I don't want an ugly gray bar at the end of every ListView? :(\r\nlistView.sections = [section];\r\n\r\nwin.add(listView);\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: ListView parity with Android for separators on non-existent items", "creator": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "subtasks": [], "reporter": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "environment": "SDK 3.1.1.GA, iOS 6.1 simulator", "comment": { "comments": [ { "id": "261696", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Lines for non-existent items is native iOS behavior.\r\n\r\nClosing as invalid.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-12T23:09:26.000+0000", "updated": "2013-07-12T23:09:26.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }