{ "id": "62171", "key": "TIMOB-1539", "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": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2017-05-01T22:51:14.000+0000", "created": "2011-04-15T02:55:24.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "android", "defect" ], "versions": [], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-06-07T21:34:05.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": "{html}
(Probably should be done in concert with #1509 re\nselectedBackgroundImage
).
Using this test app.js:
\n\nTitanium.UI.setBackgroundColor('#000');\n\nvar w = Ti.UI.createWindow({fullscreen: true});\nvar data = [];\nfor (var i = 0; i < 10; i++) {\n var color = (i % 2) ? 'red' : 'blue';\n data.push(Ti.UI.createTableViewRow({\n selectedBackgroundColor: color, \n title: 'Row ' + (i + 1)\n }));\n};\nvar tv = Ti.UI.createTableView({\n data: data\n});\nw.add(tv);\nw.open();
\n
\nIn iOS, if you touch one of the rows, it's\nselectedBackgroundColor
will show until you finish the\ntouch. In Android, if you touch one of the rows then the default\norange-ish background appears. If you use the hardware scroll to\nscroll down the list (which selects each row one-at-a-time as you\nscroll), each row's selectedBackgroundColor
will then\nappear, but then not disappear when you move to the next row. (So,\nusing the example above, you end up with a\nred-blue-red-blue-red-blue etc. table by the time you get to the\nbottom row.)
what's an estimate of time to fix this (roughly)?
I'm going to try and look this afternoon to get a better feel.\nMarshall spent some time on it yesterday and the fix wasn't\nobvious.
Any updates? Kind of boring to just have black rows..