{ "id": "63607", "key": "TIMOB-2975", "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": "11258", "description": "Holding Pen for Triaged Issues", "name": "Backlog", "archived": false, "released": false } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-05-23T14:13:34.000+0000", "created": "2011-04-15T03:34:00.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "feature", "ios", "reported-1.6.0", "rplist" ], "versions": [], "issuelinks": [], "assignee": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-14T18:02:58.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}
The iOS implementation of the 'scrollEnd' event fires the event\r\nwhen the user lifts their finger. Our docs state: \"fired when the\r\ntable view stops scrolling (currently, iphone only)\". Whether that\r\nshould happen upon deceleration or another way is not clear. Either\r\nway, it doesn't currently fire the way the documentation leads.
\r\nAlso, the event is named 'scrollEnd' (camelcase) which is not\r\nconsistent with most of our other event names.
\r\nThis is a ticket that is in line with the Android ticket here:\r\n\r\nhttps://appcelerator.lighthouseapp.com/projects/32238/tickets/2622-...
\r\nHD ticket here: http://developer.appcelerator.com/helpdesk/view/69201
\r\nSample:
\r\n\r\nvar win = Ti.UI.currentWindow; \r\nwin.backgroundColor = '#fff';\r\n\r\nvar rows = [];\r\n\r\nfor (var i = 0; i < 1000; i++) {\r\n var row = Ti.UI.createTableViewRow();\r\n \r\n var label = Ti.UI.createLabel({\r\n text: 'Some label ' + i\r\n });\r\n row.add(label);\r\n \r\n rows.push(row);\r\n};\r\n\r\nvar table = Ti.UI.createTableView({\r\n data: rows\r\n});\r\n\r\ntable.addEventListener('scroll', function(e) {\r\n //Ti.API.info('Start ' + e);\r\n});\r\n\r\ntable.addEventListener('scrollEnd', function(e) {\r\n Ti.API.info('End ' + e);\r\n});\r\n\r\nwin.add(table);
\r\n
(from [66b472c242ef88e8721b573c966311ba85b2ef5a])\n[#2975 state:fixed-in-qa] Triggering at the right\ntime now. \nhttps://github.com/appcelerator/titanium_mobile/commit/66b472c242ef...
Tested sim 4.2.1 debug, iPod 3GT 4.2.1 release. Behaves as\ndescribed in documentation.
(from [b310670abc27a95431a1ed152eb31984134e54ee])\nRevert \"[#2975 state:fixed-in-qa] Triggering at the right\ntime now.\" We'll have to revisit this in 1.7.
\nThis reverts commit 66b472c242ef88e8721b573c966311ba85b2ef5a.
\n\nhttps://github.com/appcelerator/titanium_mobile/commit/b310670abc27...
You saw the revert. This will have to wait.