{ "id": "110408", "key": "TIMOB-12900", "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": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2013-03-04T18:14:12.000+0000", "created": "2013-03-01T00:08:01.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" } ], "issuelinks": [ { "id": "26335", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "109479", "key": "TIMOB-12658", "fields": { "summary": "Android: TableView row labels disappear, related to className property", "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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-21T23:03:09.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": "h4. Description\r\n\r\nWhen scrolling up and down in a table view with rows that contain image views, the images will swap in and out as we scroll if the className property is set on the row. If there is no className set, the images just blink.\r\n\r\nh4. Code to Reproduce\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor: 'gray'\r\n});\r\n\r\nvar remoteImages = [\r\n\"http://farm9.staticflickr.com/8236/8486430790_b2f01934aa_n.jpg\", \r\n\"http://farm9.staticflickr.com/8369/8484326899_40e9f77a30_n.jpg\",\r\n\"http://farm9.staticflickr.com/8226/8485262581_bc917a9623_n.jpg\",\r\n\"http://farm9.staticflickr.com/8086/8487703846_5b11c467ac_n.jpg\",\r\n\"http://farm9.staticflickr.com/8509/8486848974_e9b76eeda7_n.jpg\",\r\n\"http://farm9.staticflickr.com/8225/8486187175_cdaec4ddf5_m.jpg\",\r\n\"http://farm9.staticflickr.com/8525/8485814568_92909c3b6e_n.jpg\",\r\n\"http://farm9.staticflickr.com/8087/8485684090_168f7bdd5d_n.jpg\",\r\n\"http://farm9.staticflickr.com/8523/8485610133_bd2e82438f_n.jpg\"];\r\n\r\nvar localImages = [\r\n\"8486430790_b2f01934aa_n.jpg\", \r\n\"8484326899_40e9f77a30_n.jpg\",\r\n\"8485262581_bc917a9623_n.jpg\",\r\n\"8487703846_5b11c467ac_n.jpg\",\r\n\"8486848974_e9b76eeda7_n.jpg\",\r\n\"8486187175_cdaec4ddf5_m.jpg\",\r\n\"8485814568_92909c3b6e_n.jpg\",\r\n\"8485684090_168f7bdd5d_n.jpg\",\r\n\"8485610133_bd2e82438f_n.jpg\"];\r\n\r\nvar rows = [];\r\n\r\n\r\nfor ( i = 0; i < localImages.length; i++) {\r\n\tTi.API.info(\" Image: \" + localImages[i]);\r\n\tvar row = Ti.UI.createTableViewRow({\r\n\t\theight : Ti.UI.SIZE,\r\n\t\twidth : Ti.UI.FILL,\r\n\t\tlayout : \"horizontal\",//,\r\n\t\tclassName : \"imageRow\"\r\n\t});\r\n\tvar image = Ti.UI.createImageView({\r\n\t\timage : localImages[i],\r\n\t\twidth : '100dp',\r\n\t\theight : '100dp',\r\n\t\ttop : 0,\r\n\t\tleft : 50\r\n\t})\r\n\tvar label = Ti.UI.createLabel({\r\n\t\ttext : ' row ' + i,\r\n\t\tcolor : '#textColor',\r\n\t\theight : Ti.UI.SIZE,\r\n\t\twidth : Ti.UI.SIZE,\r\n\t\ttop : 10,\r\n\t\tright : 50,\r\n\t\ttextAlign : 'center'\r\n\t});\r\n\trow.add(image);\r\n\trow.add(label);\r\n\trows.push(row)\r\n}\r\n\r\n\r\nvar menu = Ti.UI.createTableView();\r\nwin.add(menu);\r\n\r\nmenu.setData(rows);\r\n\r\nwin.open();\r\n{code}\r\n\r\nh4. Steps to reproduce\r\n\r\n1. Open app\r\n2. Scroll up and down\r\n\r\nNote that this happens regardless of whether or not the images are remote or local.", "attachment": [ { "id": "35876", "filename": "LocalImages.zip", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-03-04T16:00:23.000+0000", "size": 364462, "mimeType": "application/zip" } ], "flagged": false, "summary": "Android: Image views in table views swap in and out when scrolling if className is set", "creator": { "name": "btran", "key": "btran", "displayName": "Betty Tran", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "btran", "key": "btran", "displayName": "Betty Tran", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Android 2.3.5\r\nDroid Razr\r\nTi SDK 3.0.0GA, 3.0.2GA", "comment": { "comments": [ { "id": "240541", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Resolving as duplicate.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-04T18:14:12.000+0000", "updated": "2013-03-04T18:14:12.000+0000" }, { "id": "414656", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate with reference to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T23:03:09.000+0000", "updated": "2017-03-21T23:03:09.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }