{ "id": "175677", "key": "TIMOB-28212", "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": "21052", "description": "", "name": "Release 9.3.0", "archived": false, "released": true, "releaseDate": "2020-12-14" } ], "resolution": null, "resolutiondate": null, "created": "2020-10-28T14:12:35.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [ { "id": "21039", "name": "Release 9.0.3", "archived": false, "released": true, "releaseDate": "2020-06-10" }, { "id": "21092", "name": "Release 9.2.1", "archived": false, "released": true, "releaseDate": "2020-10-06" } ], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-11-20T00:24:19.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": "There is an issue with Android and the Listview element.\r\n\r\nIf you modify a row (e.g change the background colour) and then scroll up/down so that the row moves out of view, other rows pick up the property change.\r\n\r\nPlease find attached modified version of the kitchen sink v2. Build for Android. Head into the list view example and then select a row, scroll up and down to push the row out of view and you will see other rows erroneously pick up the property change.\r\n\r\nFunction that is calling on click..\r\n\r\n\r\n{code:java}\r\nfunction handleListViewClick(e) {\r\nlogger.log('Ti.UI.ListView clicked cell at index', e.sectionIndex + ' / ' + e.itemIndex);\r\n\r\nvar item = e.section.getItemAt(e.itemIndex);\r\n\r\nitem.properties.backgroundColor = \"#696969\";\r\n\r\ne.section.updateItemAt(e.itemIndex, item);\r\n\r\nif (OS_IOS) {\r\nthis.deselectItem(e.sectionIndex, e.itemIndex);\r\n}\r\n}\r\n{code}\r\n\r\nHave also attached a gif of the issue.\r\n\r\nTested on 9.0.1.GA and 9.2.1.GA - Same issue. Android 10.", "attachment": [ { "id": "67626", "filename": "kitchensink-v2 2.zip", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-10-28T14:10:59.000+0000", "size": 4193888, "mimeType": "application/zip" }, { "id": "67627", "filename": "Screen_Recording_2020-10-28_at_11.08.25.gif", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-10-28T14:07:41.000+0000", "size": 2600835, "mimeType": "image/gif" } ], "flagged": false, "summary": "Android: Listview modifies other rows on scroll", "creator": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK 9.2.1.GA\r\nSDK 9.0.3.GA", "closedSprints": [ { "id": 1209, "state": "closed", "name": "2020 Sprint 22", "startDate": "2020-10-27T02:33:00.000Z", "endDate": "2020-11-07T02:33:00.000Z", "completeDate": "2020-11-06T17:45:42.610Z", "originBoardId": 114 }, { "id": 1210, "state": "closed", "name": "2020 Sprint 23", "startDate": "2020-11-09T17:49:00.000Z", "endDate": "2020-11-20T17:49:00.000Z", "completeDate": "2020-11-20T17:46:00.641Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "457412", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-11-02T15:48:03.000+0000", "updated": "2020-11-02T15:48:03.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }