{ "id": "149377", "key": "TIMOB-19140", "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": [ { "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-03T02:27:26.000+0000", "created": "2015-07-02T08:37:39.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": [ { "id": "48265", "type": { "id": "10020", "name": "Depends", "inward": "is dependent of", "outward": "depends on" }, "inwardIssue": { "id": "149378", "key": "TIMOB-19141", "fields": { "summary": "Parity: Support Ti.UI.ListView.seperatorStyle on Android", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "None", "id": "6" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } }, { "id": "48263", "type": { "id": "10011", "name": "Includes", "inward": "is included by", "outward": "includes" }, "outwardIssue": { "id": "129209", "key": "TIMOB-16865", "fields": { "summary": "Android / MobileWeb: Unable to remove the TableView row separators even if the color is set to transparent", "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" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "updated": "2015-07-14T17:06:53.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 does not accept value of 0 which means you cannot remove the divider in Android ListView.\r\n\r\nhttps://github.com/appcelerator/titanium_mobile/blob/f8d4137ddbff4d1eacc7224f0cba1b374f7dec54/android/modules/ui/src/java/ti/modules/titanium/ui/widget/listview/TiListView.java#L500", "attachment": [], "flagged": false, "summary": "Ti.UI.ListView.dividerHeight does not accept value of 0", "creator": { "name": "cbowley", "key": "cbowley", "displayName": "Chris Bowley", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "cbowley", "key": "cbowley", "displayName": "Chris Bowley", "active": true, "timeZone": "Europe/London" }, "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": "356737", "author": { "name": "CollinPrice", "key": "collinprice", "displayName": "Collin Price", "active": true, "timeZone": "America/Toronto" }, "body": "Submitted PR https://github.com/appcelerator/titanium_mobile/pull/6952", "updateAuthor": { "name": "CollinPrice", "key": "collinprice", "displayName": "Collin Price", "active": true, "timeZone": "America/Toronto" }, "created": "2015-07-02T15:10:47.000+0000", "updated": "2015-07-02T15:10:47.000+0000" }, { "id": "356846", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "Test code:-\r\n{code}\r\nvar win = Ti.UI.createWindow({backgroundColor:'#000'});\r\n \r\nvar listView = Ti.UI.createListView({ \r\n\tseparatorColor:'blue',\r\n\tseparatorHeight: \"5dp\"\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 == \"5dp\") {\r\n \r\n listView.separatorHeight = 0;\r\n \r\n } else {\r\n \r\n listView.separatorHeight = \"5dp\";\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-03T01:43:38.000+0000", "updated": "2015-07-03T01:43:38.000+0000" }, { "id": "356848", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "4_1_X Backport PR: https://github.com/appcelerator/titanium_mobile/pull/6953", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-07-03T02:07:25.000+0000", "updated": "2015-07-03T02:07:25.000+0000" }, { "id": "356850", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "Thanks for the PR [~CollinPrice]. PR merged and back ported.", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-07-03T02:28:03.000+0000", "updated": "2015-07-03T02:32:44.000+0000" }, { "id": "356859", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Some say we should also set the divider itself to {{@null}}:\r\nhttp://stackoverflow.com/questions/1914477/how-to-remove-line-inbetween-two-listviews-in-android", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2015-07-03T05:12:03.000+0000", "updated": "2015-07-03T05:12:03.000+0000" }, { "id": "356866", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "Hmmm. I think it is acceptable right now to set it as 0 and not null. Is there any reason it has to be set to null as well? \r\n\r\nI'm trying to find out if it impacts anything if it is set to 0 and not null. So far, it seems to be working as expected.", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-07-03T06:14:36.000+0000", "updated": "2015-07-03T06:14:36.000+0000" }, { "id": "357659", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix.\r\n\r\nClosing.\r\n\r\nEnvironment:\r\nAppc Studio : 4.1.0.201507071122\r\nTi SDK : 4.2.0.v20150714071826, 4.1.0.GA\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\nNexus 5 - Android 5.1.1\r\nGenymotion emulator - android 4.4.4", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-07-14T17:04:38.000+0000", "updated": "2015-07-14T17:06:48.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }