{ "id": "102240", "key": "TIMOB-11179", "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": "2012-09-26T21:44:33.000+0000", "created": "2012-09-26T21:32:39.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "parity", "qe-and090112" ], "versions": [ { "id": "14137", "description": "Release 2.1.3", "name": "Release 2.1.3", "archived": true, "released": true, "releaseDate": "2012-10-03" } ], "issuelinks": [ { "id": "21578", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "99350", "key": "TIMOB-10477", "fields": { "summary": "Android: The app crashes on launch on Android", "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": "Critical", "id": "1" }, "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": "2014-06-19T12:42:44.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": "Description:\r\nPostlayout table event not fired on Android and alert \"postlayout table event fired\" does not appear as well.\r\n\r\nThis is not a regression, occurs on 2.1.2.\r\n\r\nSteps:\r\n1. Run the following code and check the console:\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor:'white',\r\n title:'test',\r\n modal:true\r\n});\r\n \r\nvar data1 = [];\r\n \r\nvar tvr = Ti.UI.createTableViewRow({\r\n title:'pippo',\r\n hasChild:true\r\n});\r\ndata1.push(tvr);\r\n \r\nvar table = Ti.UI.createTableView({\r\n top: 10,\r\n left: 10,\r\n width: 200, \r\n height: 200,\r\n scrollable: false,\r\n borderRadius: 10,\r\n backgroundColor: 'white',\r\n data : data1\r\n});\r\ntable.addEventListener('postlayout', function() {\r\n setTimeout(function(){\r\n Ti.API.info('#### postlayout table event received.');\r\n alert('postlayout table event fired');\r\n },600);\r\n});\r\nwin.add(table);\r\n \r\nwin.open();\r\n{code}\r\n\r\nExpected result:\r\nPostlayout table event should be fired.\r\n\r\nActual result:\r\nPostlayout table event not fired and alert does not appear.", "attachment": [], "flagged": false, "summary": "Android: TableView - Postlayout table event not fired on Android", "creator": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Tested on: \r\nOS: Mac OS X Lion 10.7.4 \r\nTitanium Studio, build: 2.1.2.201208301612 \r\nTitanium SDK, build: 2.1.3.v20120925173111 \r\nDevices: HTC Evo (4.0.3), Samsung Galaxy SIII (4.1)", "comment": { "comments": [ { "id": "221108", "author": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Sorry, just found the same issue. Closing my bug as a duplicate of TIMOB-9640.", "updateAuthor": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-26T21:44:33.000+0000", "updated": "2012-09-26T21:44:33.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }