{ "id": "62353", "key": "TIMOB-1721", "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": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-06-20T10:15:06.000+0000", "created": "2011-04-15T03:00:28.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "defect", "qe-testadded", "rplist", "tableview" ], "versions": [], "issuelinks": [ { "id": "19962", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "94532", "key": "TIMOB-9901", "fields": { "summary": "TiAPI: Review and clean up platform bugs and reduce bug count by 20%.", "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": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-06-20T10:15:06.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}

Simple failcase below. (Make sure you have KS_nav_ui.png in your\r\nResources folder - it's there by default.) Click on the image in a\r\nrow and the image will disappear. Scroll so the whole row is not\r\nvisible, then scroll back -- the image will be visible again.

\r\n
\r\n\r\nvar win = Ti.UI.currentWindow;\r\nvar rows = [];\r\nfor (var i = 0 ; i < 20; i++) {\r\n    var btn = Ti.UI.createButton({ backgroundImage: 'KS_nav_ui.png', left: 5});\r\n    btn.addEventListener('click', function(e) {e.source.hide()});\r\n    var row = Ti.UI.createTableViewRow();\r\n    row.add(btn);\r\n    row.add(Ti.UI.createLabel({text: 'Row ' + i, left: 50}));\r\n    rows.push(row);\r\n}\r\n\r\nwin.add(Ti.UI.createTableView({data: rows}));\r\n
{html}", "attachment": [], "flagged": false, "summary": "Android: Views inside tableviewrow forget their visibility state when scrolled back in to view", "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": "126448", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

I put the wrong code in before. Fixed it.

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:00:29.000+0000", "updated": "2011-04-15T03:00:29.000+0000" }, { "id": "126449", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

If more tests are need see offer in HelpDesk\n51341

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:00:29.000+0000", "updated": "2011-04-15T03:00:29.000+0000" }, { "id": "126450", "author": { "name": "aleard", "key": "aleard", "displayName": "Alan Leard", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Another Ticket Reference: http://developer.appcelerator.com/helpdesk/view/75521

\n

Also, objects that are animated into place also lose their state\nand move back after scroll.

\n

This app.js does not work (visibility and location reset after\nscroll): \nhttp://developer.appcelerator.com/s3/retrieve/attachments.helpdesk....

\n

This one does by setting visibility instead of using hide and\neliminating animate: \nhttp://developer.appcelerator.com/s3/retrieve/attachments.helpdesk....

\n

Tested with 1.6 and APIs 2.2

{html}", "updateAuthor": { "name": "aleard", "key": "aleard", "displayName": "Alan Leard", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:00:29.000+0000", "updated": "2011-04-15T03:00:29.000+0000" }, { "id": "214804", "author": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "body": "Tested using TiSDK 2.2.0v20120816015712 on a Samsung Galaxy S2, unable to reproduce the issue.\r\n\r\nUsed the following code:\r\n{code}\r\nvar win = Ti.UI.createWindow({backgroundColor: 'white'});\r\n\r\nvar rows = [];\r\nfor (var i = 0 ; i < 50; i++) {\r\n var btn = Ti.UI.createButton({ backgroundImage: 'KS_nav_ui.png', left: 5, width: 20, height: 20});\r\n btn.addEventListener('click', function(e) {e.source.hide()});\r\n var row = Ti.UI.createTableViewRow();\r\n row.add(btn);\r\n row.add(Ti.UI.createLabel({text: 'Row ' + i, left: 50}));\r\n rows.push(row);\r\n}\r\n\r\nwin.add(Ti.UI.createTableView({data: rows}));\r\n\r\nwin.open();\r\n{code}\r\n\r\nTicket closed.", "updateAuthor": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "created": "2012-08-16T11:13:11.000+0000", "updated": "2012-08-16T11:13:11.000+0000" }, { "id": "215036", "author": { "name": "rumbrasas", "key": "rumbrasas", "displayName": "Rima Umbrasas", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed with :\r\nMobilesdk-2.2.0.v20120816212512\r\nTitanium Studio, build: 2.1.1.201207271312\r\nDevices:\r\nGalaxy S III Android version 4.0.4\r\n", "updateAuthor": { "name": "rumbrasas", "key": "rumbrasas", "displayName": "Rima Umbrasas", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-17T16:29:21.000+0000", "updated": "2012-08-17T16:29:21.000+0000" }, { "id": "258710", "author": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening to update labels", "updateAuthor": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-20T10:12:47.000+0000", "updated": "2013-06-20T10:12:47.000+0000" }, { "id": "258711", "author": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with: \r\nSDK:3.1.2.v20130619101604\r\nAppcelerator Studio: 3.1.1.201306131423\r\nOS: OSX 10.7.5\r\nDevice:iPad mini(v 6.0), htc desire(v 4.0.3)\r\nXcode: 4.6", "updateAuthor": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-20T10:15:06.000+0000", "updated": "2013-06-20T10:15:06.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }