{ "id": "115330", "key": "AC-2140", "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": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-01-08T06:01:43.000+0000", "created": "2013-06-01T17:36:49.000+0000", "labels": [ "listview", "parity" ], "versions": [], "issuelinks": [ { "id": "29263", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "115329", "key": "TIMOB-14225", "fields": { "summary": "Android: ListView templates crash when a view is removed and added again (Alloy 1.2)", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:41:07.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": "The left and right position of items in a listview differs between iOS and Android when using accessoryType as shown in the screenshots. In this case it is set to Ti.UI.LIST_ACCESSORY_TYPE_DETAIL\r\n\r\nSo the text items on the right are UI.Labels with a right property of '5dp'\r\n\r\nI think the Android one needs fixing as it makes more sense not to have to account for the size of detail symbols manually.\r\n\r\nNote the lack of images on the Android version is another bug where remote images are not loaded in an ImageView. But the details need refining.", "attachment": [ { "id": "39335", "filename": "device-2013-06-01-183653.png", "author": { "name": "ndastur", "key": "ndastur", "displayName": "Neville Dastur", "active": true, "timeZone": "Europe/London" }, "created": "2013-06-01T17:38:13.000+0000", "size": 125319, "mimeType": "image/png" }, { "id": "44612", "filename": "device-2013-12-14-121030.png", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2013-12-14T06:13:23.000+0000", "size": 35805, "mimeType": "image/png" }, { "id": "39336", "filename": "iOS_Listview.png", "author": { "name": "ndastur", "key": "ndastur", "displayName": "Neville Dastur", "active": true, "timeZone": "Europe/London" }, "created": "2013-06-01T17:40:10.000+0000", "size": 73930, "mimeType": "image/png" }, { "id": "44613", "filename": "iOS Simulator Screen shot Dec 14, 2013 12.09.35 PM.png", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2013-12-14T06:13:23.000+0000", "size": 74126, "mimeType": "image/png" }, { "id": "44779", "filename": "iOS Simulator Screen shot ti_cls.png", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2013-12-22T16:29:08.000+0000", "size": 38584, "mimeType": "image/png" }, { "id": "44780", "filename": "ti_cls_andoid_.png", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2013-12-22T16:29:08.000+0000", "size": 26039, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: ListView position parity issue when using accessoryType", "creator": { "name": "ndastur", "key": "ndastur", "displayName": "Neville Dastur", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "ndastur", "key": "ndastur", "displayName": "Neville Dastur", "active": true, "timeZone": "Europe/London" }, "environment": "SDK 3.1.0GA\r\niOS 6.1 Simulator and iPad 2\r\nAndroid 4.1.2 Samsung S3", "comment": { "comments": [ { "id": "255606", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Neville,\r\n\r\nDoes that happen to be from a listview sample, or is it your own code. If it's your own code, can you provide a reproducible test case in an app.js?\r\n\r\nThanks!", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-03T21:26:05.000+0000", "updated": "2013-06-03T21:26:05.000+0000" }, { "id": "255625", "author": { "name": "ndastur", "key": "ndastur", "displayName": "Neville Dastur", "active": true, "timeZone": "Europe/London" }, "body": "Hi Daniel\n\nUsing the same repo code for the listview crash bug I made a minor modification to show the above issue.\n\n[https://github.com/ClinicalSoftwareSolutions/DemoBug/tree/listview_android_crash]\n\nNeville", "updateAuthor": { "name": "ndastur", "key": "ndastur", "displayName": "Neville Dastur", "active": true, "timeZone": "Europe/London" }, "created": "2013-06-03T22:01:07.000+0000", "updated": "2013-06-03T22:01:07.000+0000" }, { "id": "255982", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "So to reproduce this I guess I need to build Alloy 1.2? I'm getting errors like:\n\n{code}[16,34] alloy/controllers/listview.js\nUncaught TypeError: Object # has no method 'createTemplates'{code}", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-04T22:28:20.000+0000", "updated": "2013-06-04T22:28:20.000+0000" }, { "id": "255984", "author": { "name": "ndastur", "key": "ndastur", "displayName": "Neville Dastur", "active": true, "timeZone": "Europe/London" }, "body": "Hi Daniel, yes sorry you do. But that is only because I took the short cut of using the same code base as the other bug. It isn't a Alloy 1.2 error", "updateAuthor": { "name": "ndastur", "key": "ndastur", "displayName": "Neville Dastur", "active": true, "timeZone": "Europe/London" }, "created": "2013-06-04T22:32:02.000+0000", "updated": "2013-06-04T22:32:02.000+0000" }, { "id": "263453", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~dsefton] http://developer.appcelerator.com/question/155021/how-do-i-install-alloy-any-version-or-rollbacks", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-26T18:31:26.000+0000", "updated": "2013-07-26T18:31:26.000+0000" }, { "id": "271575", "author": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Hi Neville\r\n\r\nCan you please try our latest release Ti 3.1.2 or the nightly CI build if this issue exists? Please let me know your test results so that we can review this again.\r\n\r\n\r\n", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-09-17T21:47:53.000+0000", "updated": "2013-09-17T21:48:28.000+0000" }, { "id": "272439", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Tested this, verified to be valid.\r\n", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-09-23T09:05:24.000+0000", "updated": "2013-12-18T06:14:47.000+0000" }, { "id": "287160", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reproduced this issue with 3.1.3 SDK and verified that issue has been fixed in 3.2.0 GA release. ", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-08T06:01:43.000+0000", "updated": "2014-01-08T06:01:43.000+0000" } ], "maxResults": 16, "total": 16, "startAt": 0 } } }