{ "id": "171050", "key": "TIMOB-25759", "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": [], "resolution": null, "resolutiondate": null, "created": "2018-02-07T09:22:00.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "andorid", "engSchedule", "listitem" ], "versions": [ { "id": "19988", "description": "", "name": "Release 7.0.1", "archived": false, "released": true, "releaseDate": "2017-12-21" }, { "id": "20791", "name": "Release 8.0.2", "archived": false, "released": true, "releaseDate": "2019-06-18" } ], "issuelinks": [], "assignee": { "name": "ybanev", "key": "ybanev", "displayName": "Yordan Banev", "active": true, "timeZone": "Europe/Athens" }, "updated": "2019-09-19T15:25:30.000+0000", "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" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "*Issue Description:*\r\nThe selectedBackgroundColor property of ListItem is not working on android. \r\n\r\n*Test Steps:*\r\n- Create an alloy project and run the test code.\r\n- Click on the listView row.\r\nObserve that the selectedBackgroundColor does not set the row's background color when selected.\r\n\r\n*Expected:*\r\nListView row's background color should change when I click on the row.\r\n\r\n*Actual:*\r\nListView row's background color does not change.\r\n\r\n*Test Code:*\r\n*index.xml*\r\n{code}\r\n\r\n\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t\r\n\r\n{code}\r\n\r\n\r\n*index.js*\r\n{code}\r\n$.listView.addEventListener('itemclick', function(e) {\r\n var item = $.section.getItemAt(e.itemIndex);\r\n item.properties.selectedBackgroundColor = 'yellow';\r\n $.section.updateItemAt(e.itemIndex, item);\r\n});\r\n$.index.open();\r\n{code}\r\n\r\nThanks!", "attachment": [], "flagged": false, "summary": "Android: ListItem selectedBackgroundColor property not working.", "creator": { "name": "jnaher", "key": "jnaher", "displayName": "Jebun Naher", "active": false, "timeZone": "Asia/Dhaka" }, "subtasks": [], "reporter": { "name": "jnaher", "key": "jnaher", "displayName": "Jebun Naher", "active": false, "timeZone": "Asia/Dhaka" }, "environment": "Appcelerator Command-Line Interface, version 7.0.1\r\nCopyright (c) 2014-2018, Appcelerator, Inc. All Rights Reserved.\r\n\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.13.2\r\n Architecture = 64bit\r\n CPUs = 4\r\n Memory = 8.0GB\r\n Xcode = 9.0\r\n\r\nNode.js\r\n Node.js Version = 8.9.1\r\n npm Version = 5.5.1\r\n\r\nAppcelerator CLI\r\n Installer = 4.2.11\r\n Core Package = 7.0.1\r\n\r\nTitanium CLI\r\n CLI Version = 5.0.14\r\n node-appc Version = 0.2.41\r\n\r\nTi SDK = 7.0.1.GA\r\n\r\nPhysical device: Huawei GR3(Android 7)\r\nEmulator: Samsung Galaxy S7 - 7.1.0(API 25)", "comment": { "comments": [], "maxResults": 15, "total": 15, "startAt": 0 } } }