{ "id": "65766", "key": "TIMOB-4219", "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": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2012-10-09T21:04:08.000+0000", "created": "2011-05-25T10:08:41.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "rplist" ], "versions": [ { "id": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" }, { "id": "11260", "description": "", "name": "Release 1.6.2", "archived": true, "released": true, "releaseDate": "2011-04-20" }, { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" } ], "issuelinks": [], "assignee": { "name": "krowley", "key": "krowley", "displayName": "Karl Rowley", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-23T20:23:01.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": "tableView doubletap does not work if you set the data with an array of objects.\r\nIf you create rows and add views to them, then doubletap will work\r\n\r\nStep 1: run the code below\r\nStep 2: doubletap on 'Row 1' or 'Row 2' and notice that it does not fire\r\nStep 3: doubletap on 'Row 3' and notice that doubletap fires\r\n\r\n{code:javascript}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor: 'white'\r\n});\r\n\r\nvar data = [{title:\"Row 1\"},{title:\"Row 2\"},row];\r\n\r\nvar row = Titanium.UI.createTableViewRow({height:45});\r\nvar view = Titanium.UI.createView();\r\nvar label = Ti.UI.createLabel({text:'Row 3', left: 10});\r\nrow.add(view);\r\nview.add(label);\r\ndata.push(row);\r\n\r\nvar table = Titanium.UI.createTableView({data:data});\r\nwin.add(table);\r\ntable.addEventListener('click', function(e){\r\n\tTi.API.info('click');\r\n});\r\n\r\ntable.addEventListener('doubletap', function(e){\r\n\tTi.API.info('doubletap');\r\n});\r\n\r\nwin.open();\r\n{code}\r\n\r\nh3. Associated Helpdesk Ticket\r\nhttp://appc.me/c/APP-313764", "attachment": [], "flagged": false, "summary": "Android: tableView doubletap event does not fire if you set the data with an array of objects", "creator": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "TiSDK 1.6.2, Android 3.0\r\nTiSDK 1.7.0.RC1, Android 3.0\r\nTiSDK 1.7.0.RC1, Android 2.3", "comment": { "comments": [ { "id": "194927", "author": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "body": "Tested with 2.0.1GA2, still reproducible on a Samsung Galaxy S2. \r\n\r\nOn a side note, the iOS simulator doesn't seem to be able to recognize a double click on row 3.", "updateAuthor": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "created": "2012-05-15T16:32:19.000+0000", "updated": "2012-05-15T16:32:19.000+0000" }, { "id": "221998", "author": { "name": "krowley", "key": "krowley", "displayName": "Karl Rowley", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I can't reproduce this on the 3.0.X SDK, Samsung Galaxy S2 (AT&T), Android 2.3.6", "updateAuthor": { "name": "krowley", "key": "krowley", "displayName": "Karl Rowley", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-03T23:10:16.000+0000", "updated": "2012-10-03T23:10:16.000+0000" }, { "id": "222767", "author": { "name": "krowley", "key": "krowley", "displayName": "Karl Rowley", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Cannot reproduce with 3.0.X SDK", "updateAuthor": { "name": "krowley", "key": "krowley", "displayName": "Karl Rowley", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-09T21:04:08.000+0000", "updated": "2012-10-09T21:04:08.000+0000" }, { "id": "415352", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as \"Cannot Reproduce\" with reference to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-23T20:23:01.000+0000", "updated": "2017-03-23T20:23:01.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }