{ "id": "76854", "key": "TIMOB-4487", "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": "11364", "description": "Mobile 1.8.0 M11", "name": "Sprint 2011-32", "archived": true, "released": true, "releaseDate": "2011-08-15" }, { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-08-12T13:00:43.000+0000", "created": "2011-06-23T09:56:08.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "enterprise", "module_scrollview", "qe-port", "qe-testadded" ], "versions": [ { "id": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" } ], "issuelinks": [ { "id": "12368", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "79133", "key": "TIMOB-4979", "fields": { "summary": "Android: Expose \"dragstart\" and \"dragend\" event on ScrollView (Parity)", "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": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:46:34.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": "h1. Feature\r\nExpose two new events on a scroll view: \"dragStart\" and \"dragEnd\". These would occur with scrollViewWillBeginDragging and scrollViewDidEndDragging.\r\n\r\nh2. Sample Code\r\nThe following code would use these events.\r\n{code:title=app.js}\r\nvar window = Ti.UI.createWindow({\r\n backgroundColor:'#fff'\r\n});\r\n\r\nvar scrollView = Ti.UI.createScrollView({\r\n width: 320, height: 480,\r\n contentWidth: 2000\r\n});\r\nscrollView.addEventListener('dragStart', function(e) {\r\n Ti.API.info('drag start!');\r\n window.backgroundColor = '#aaa';\r\n});\r\nscrollView.addEventListener('dragEnd', function(e) {\r\n Ti.API.info('drag end! Will decelerate? ' + (e.decelerate ? 'Yes' : 'No'));\r\n window.backgroundColor = '#fff';\r\n});\r\nscrollView.add(Ti.UI.createLabel({\r\n text: 'Swipe Me',\r\n width: 2000, height: 50,\r\n textAlign: 'left'\r\n}));\r\nscrollView.add(Ti.UI.createLabel({\r\n text: '...and dragStart and dragEnd should fire!',\r\n width: 2000, height: 50,\r\n textAlign: 'right'\r\n}));\r\nwindow.add(scrollView);\r\n\r\nwindow.open();\r\n{code}\r\n\r\nh2. Associated Helpdesk Ticket\r\nhttp://appc.me/c/APP-413136", "attachment": [], "flagged": false, "summary": "iOS: Expose dragStart and dragEnd on Scroll View", "creator": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "environment": null, "comment": { "comments": [ { "id": "157658", "author": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "body": "h2. Pull Request\r\nhttps://github.com/appcelerator/titanium_mobile/pull/150", "updateAuthor": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "created": "2011-06-23T10:31:48.000+0000", "updated": "2011-06-23T10:31:48.000+0000" }, { "id": "162329", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "body": "pull pending #351", "updateAuthor": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-08-09T21:42:49.000+0000", "updated": "2011-08-09T21:42:49.000+0000" }, { "id": "214229", "author": { "name": "rumbrasas", "key": "rumbrasas", "displayName": "Rima Umbrasas", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed with :\r\nMobile sdk-2.2.0.v20120810080115\r\nTitanium Studio, build: 2.1.1.201207271312\r\nDevice:\r\nIpad 5.1", "updateAuthor": { "name": "rumbrasas", "key": "rumbrasas", "displayName": "Rima Umbrasas", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-13T17:03:13.000+0000", "updated": "2012-08-13T17:03:13.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }