{ "id": "79133", "key": "TIMOB-4979", "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": "18414", "description": "", "name": "Release 6.2.0", "archived": false, "released": true, "releaseDate": "2017-09-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-05-23T17:24:23.000+0000", "created": "2011-08-10T14:54:11.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "dragend", "dragstart", "parity", "scroll" ], "versions": [ { "id": "11570", "description": "", "name": "Release 1.7.2", "archived": true, "released": true, "releaseDate": "2011-07-21" } ], "issuelinks": [ { "id": "12368", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "76854", "key": "TIMOB-4487", "fields": { "summary": "iOS: Expose dragStart and dragEnd on Scroll View", "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": "High", "id": "2" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } }, { "id": "24399", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "107661", "key": "TIMOB-12261", "fields": { "summary": "Android: Custom ScrollView paging logic fails, works on iOS", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-05-31T16:38:23.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": "API 11 recently exposed the onDragEvent listener in View, which would allow us to reach parity by exposing the dragStart and dragEnd events on Titanium.UI.ScrollView.\r\nhttp://developer.android.com/reference/android/view/View.html#onDragEvent(android.view.DragEvent)", "attachment": [], "flagged": false, "summary": "Android: Expose \"dragstart\" and \"dragend\" event on ScrollView (Parity)", "creator": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 896, "state": "closed", "name": "2017 Sprint 11 SDK", "startDate": "2017-05-22T02:41:17.888Z", "endDate": "2017-06-05T02:41:00.000Z", "completeDate": "2017-06-05T00:14:33.418Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "162500", "author": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Feature parity w/ iOS", "updateAuthor": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-08-10T15:03:00.000+0000", "updated": "2011-08-10T15:03:00.000+0000" }, { "id": "180582", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Bug still persists on:\r\n\r\nSDK build: 1.8.1.v20120124200134\r\nRuntime: v8\r\nTitanium Studio, build: 1.0.8.201201210622\r\nDevice: Nook Color (2.2)", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-01-25T12:51:22.000+0000", "updated": "2012-01-25T12:51:22.000+0000" }, { "id": "288239", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "body": "It is reproducible.\nTested on:\nDevice : Google Nexus 7, Android Version: 4.4.2\nSDK: 3.2.1.v20140114125643\nCLI version : 3.2.1-beta\nOS : MAC OSX 10.9\nAlloy: 1.3.1-beta2\nACS: 1.0.11\nnpm:1.3.2\nAppcelerator Studio, build: 3.2.1.201401091743\ntitanium-code-processor: 1.1.0\nXCode : 5.0.2", "updateAuthor": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2014-01-15T07:13:26.000+0000", "updated": "2014-01-15T07:13:26.000+0000" }, { "id": "417359", "author": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "body": "Can we get a re-evaluation of priority of this ticket?", "updateAuthor": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-04-13T15:16:56.000+0000", "updated": "2017-04-13T15:16:56.000+0000" }, { "id": "417485", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/8968\r\n\r\nI just used dragstart/dragend (lowercase) since the uppercase version is deprecated!\r\n\r\nTestcase\r\n{code:java}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor: \"#fff\"\r\n});\r\nvar scrollView = Ti.UI.createScrollView({\r\n\theight: Ti.UI.FILL,\r\n\twidth: Ti.UI.FILL,\r\n\tcontentHeight: 4000,\r\n\tscrollType: \"vertical\"\r\n})\r\n\r\nfunction onScrolling(e) {\r\n\tconsole.log(\"Scrolling\");\r\n}\r\n\r\nfunction onDragstart(e) {\r\n\tconsole.log(\"---Drag start---\");\r\n}\r\n\r\nfunction onDragend(e) {\r\n\tconsole.log(\"---Drag end---\");\r\n}\r\nscrollView.addEventListener(\"scroll\", onScrolling);\r\nscrollView.addEventListener(\"dragstart\", onDragstart);\r\nscrollView.addEventListener(\"dragend\", onDragend);\r\nwin.add(scrollView);\r\nwin.open();\r\n{code}\r\n\r\nOutput:\r\n\r\n{noformat}\r\n[INFO] ---Drag start---\r\n[INFO] Scrolling\r\n[INFO] Scrolling\r\n[INFO] Scrolling\r\n[INFO] ---Drag end---\r\n[INFO] Scrolling\r\n[INFO] Scrolling\r\n[INFO] Scrolling\r\n[INFO] Scrolling\r\n[INFO] Scrolling\r\n[INFO] Scrolling\r\n...\r\n{noformat}\r\n\r\nwhen flicking the screen (drag end is fired when the finger is not touching the screen anymore)", "updateAuthor": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-04-17T16:22:41.000+0000", "updated": "2017-04-17T16:24:23.000+0000" }, { "id": "420696", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed using SDK Version 6.2.0.v20170531081104. Test and other information can be found at: https://github.com/appcelerator/titanium_mobile/pull/8968", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-05-31T16:38:08.000+0000", "updated": "2017-05-31T16:38:08.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }