{ "id": "149375", "key": "TIMOB-19139", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "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": [ { "id": "16723", "description": "Windows Platform Support, ListView updates, Vector overlays in maps", "name": "Release 4.1.0", "archived": false, "released": true, "releaseDate": "2015-07-08" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-07-02T10:09:58.000+0000", "created": "2015-07-02T08:31:58.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "listview", "qe-4.1.0" ], "versions": [ { "id": "16723", "description": "Windows Platform Support, ListView updates, Vector overlays in maps", "name": "Release 4.1.0", "archived": false, "released": true, "releaseDate": "2015-07-08" } ], "issuelinks": [], "assignee": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "updated": "2015-09-21T17:43:03.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": "[Ti.UI.ListView.dividerHeight|http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.ListView-property-dividerHeight] should be named {{separatorHeight}}. I know the native property is called {{dividerHeight}} on Android, but {{separatorColor}} is also available on Android and we should use different names for the same element and we already have {{separatorInsets}} and {{separatorStyle}} as well.\r\n\r\nhttps://github.com/appcelerator/titanium_mobile/blob/master/android/modules/ui/src/java/ti/modules/titanium/ui/widget/listview/TiListView.java#L710-L719", "attachment": [], "flagged": false, "summary": "Ti.UI.ListView.dividerHeight should be separatorHeight", "creator": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "environment": null, "closedSprints": [ { "id": 429, "state": "closed", "name": "2015 Sprint 13 SDK", "startDate": "2015-06-23T05:39:59.141Z", "endDate": "2015-07-04T00:30:00.000Z", "completeDate": "2015-07-07T04:59:44.220Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "356695", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "4_1_X PR: https://github.com/appcelerator/titanium_mobile/pull/6950\r\nMaster PR: https://github.com/appcelerator/titanium_mobile/pull/6951", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-07-02T09:14:36.000+0000", "updated": "2015-07-02T09:14:36.000+0000" }, { "id": "356696", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "{code}\r\nvar win = Ti.UI.createWindow({backgroundColor:'#000'});\r\n \r\nvar listView = Ti.UI.createListView({ \r\n\tseparatorColor:'blue',\r\n\tseparatorHeight: \"3dp\"\r\n \r\n \r\n});\r\n \r\n \r\n \r\nvar sections = [];\r\n \r\nvar fruitSection = Ti.UI.createListSection();\r\n \r\nvar fruitDataSet = [\r\n \r\n {properties: { title: 'Apple'}},\r\n \r\n {properties: { title: 'Banana'}},\r\n \r\n {properties: { title: 'Apple'}},\r\n \r\n {properties: { title: 'Banana'}},\r\n \r\n \r\n];\r\n \r\n \r\nfruitSection.setItems(fruitDataSet);\r\n \r\nsections.push(fruitSection);\r\n \r\nlistView.sections = sections;\r\n \r\nlistView.addEventListener('itemclick', function(e){\r\n \r\n if (listView.separatorHeight == \"3dp\") {\r\n \r\n listView.separatorHeight = 20;\r\n \r\n } else {\r\n \r\n listView.separatorHeight = \"3dp\";\r\n }\r\n \r\n});\r\n \r\nwin.add(listView);\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-07-02T09:17:30.000+0000", "updated": "2015-07-02T09:17:30.000+0000" }, { "id": "356699", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR merged.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-07-02T10:09:50.000+0000", "updated": "2015-07-02T10:09:50.000+0000" }, { "id": "357703", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the implementation.\r\n\r\nClosing.\r\n\r\nEnvironment:\r\nAppc Studio : 4.1.0.201507071122\r\nTi SDK : 4.2.0.v20150714071826\r\nTi CLI : 4.0.1\r\nAlloy : 1.6.2\r\nMAC Yosemite : 10.10.4\r\nAppc NPM : 4.1.0\r\nAppc CLI : 4.1.0\r\nNode: v0.10.37\r\nGenymotion emulator - android 5.1.0\r\n\r\n", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-07-14T22:55:32.000+0000", "updated": "2015-07-14T22:55:32.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }