{ "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).

\n

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
\n

In 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.)

{html}", "attachment": [], "flagged": false, "summary": "Android: selectedBackgroundColor behavior incorrect (TableViewRow)", "creator": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "125972", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

what's an estimate of time to fix this (roughly)?

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:55:25.000+0000", "updated": "2011-04-15T02:55:25.000+0000" }, { "id": "125973", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

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.

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:55:25.000+0000", "updated": "2011-04-15T02:55:25.000+0000" }, { "id": "125974", "author": { "name": "adaptivemedia", "key": "adaptivemedia", "displayName": "Victor Schelin", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Any updates? Kind of boring to just have black rows..

{html}", "updateAuthor": { "name": "adaptivemedia", "key": "adaptivemedia", "displayName": "Victor Schelin", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:55:25.000+0000", "updated": "2011-04-15T02:55:25.000+0000" }, { "id": "418535", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": " Resolving ticket as Invalid as there is hardly any information whatsoever and this was created in April 2011 with no response since that time.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-05-01T22:51:14.000+0000", "updated": "2017-05-01T22:51:14.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }