{ "id": "90578", "key": "TIMOB-8796", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": "13503", "description": "Sprint 2012-14 Core", "name": "Sprint 2012-14 API", "archived": true, "released": true, "releaseDate": "2012-07-13" }, { "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": "2012-12-21T05:41:02.000+0000", "created": "2012-04-19T11:48:45.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "api", "module_tableview", "qe-testadded" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "issuelinks": [ { "id": "18317", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "inwardIssue": { "id": "94487", "key": "TIMOB-9894", "fields": { "summary": "MobileWeb: index, row , rowdata and section property for longpress event in tableview", "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": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } }, { "id": "20665", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "90576", "key": "TIMOB-8795", "fields": { "summary": "iOS: index, row , rowdata and section property for longpress event in tableview", "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": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-24T21:20:53.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": "Just like the click event in TI.UI.Tableview, customer wants index,row,rowdata and section property for longpress event.", "attachment": [], "flagged": false, "summary": "Android: index, row , rowdata and section property for longpress event in tableview", "creator": { "name": "dgandhi", "key": "dgandhi", "displayName": "Devang Gandhi", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dgandhi", "key": "dgandhi", "displayName": "Devang Gandhi", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium SDK: 2.1\r\nAndroid SDK: 2.2", "comment": { "comments": [ { "id": "191866", "author": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "body": "HD ticket: https://support.appcelerator.com/tickets/APP-843858", "updateAuthor": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "created": "2012-04-19T11:54:19.000+0000", "updated": "2012-04-19T11:54:19.000+0000" }, { "id": "197009", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-06-04T10:07:52.000+0000", "updated": "2012-06-04T10:07:52.000+0000" }, { "id": "197447", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-06-05T23:07:39.000+0000", "updated": "2012-06-05T23:13:29.000+0000" }, { "id": "200475", "author": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "We need to make sure that we check the behavior across Android, iOS and Mobile Web platforms before resolving this ticket.", "updateAuthor": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-26T18:50:40.000+0000", "updated": "2012-06-26T18:50:40.000+0000" }, { "id": "202284", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Test code:\r\n{code}\r\nvar win = Ti.UI.createWindow();\r\n \r\nvar tableData = []\r\nvar s = 0;\r\nvar nRow = 0;\r\nfor(var i = 0; i < 100; i++){\r\n var createNewSection = (i + 1) % 10 == 9 || i == 0 ? true : false;\r\n createNewSection ? nRow = 1 : nRow++;\r\n tableData.push({\r\n title:'Row #' + nRow + ' Index #' + i + ' Section #' + s,\r\n customProp:'Hello World! #' + i,\r\n header: createNewSection ? 'Section #' + s++ : null\r\n });\r\n}\r\n \r\nvar table = Ti.UI.createTableView({\r\n data: tableData\r\n});\r\n \r\nwin.add(table);\r\n \r\ntable.addEventListener('longpress', function(e){\r\n Ti.API.info('Section: ' + e.section);\r\n Ti.API.info('Row: ' + e.row);\r\n Ti.API.info('Row Data: ' + e.rowData);\r\n Ti.API.info('Index: ' + e.index);\r\n if (e.rowData != null) {\r\n Ti.API.info('customProp: ' + e.rowData.customProp);\r\n }\r\n});\r\n \r\nwin.open();\r\n{code}", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-10T00:07:49.000+0000", "updated": "2012-07-13T00:00:16.000+0000" }, { "id": "214796", "author": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as fixed.\r\nTested and verified on:\r\nTitanium Studio, build: 2.1.1.201208091713\r\nTitanium SDK, build: 2.2.0.v20120816015712\r\nDevices: Nexus 7 tab (4.1.1), HTC Evo (4.0.3), iPhone 4 (4.3.5)", "updateAuthor": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-16T10:44:10.000+0000", "updated": "2012-08-16T10:44:10.000+0000" }, { "id": "415792", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed with reference to previous comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-24T21:20:53.000+0000", "updated": "2017-03-24T21:20:53.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }