{ "id": "174976", "key": "TIMOB-27879", "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": "20950", "name": "Release 9.1.0", "archived": false, "released": true, "releaseDate": "2020-08-25" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2020-08-07T10:39:23.000+0000", "created": "2020-05-03T13:35:42.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "ScrollView", "android", "scroll" ], "versions": [], "issuelinks": [], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-08-07T10:39: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": "Android's {{ListView}} can spam a \"scrolling\" event even when your finger is held at a single position. This is because there is currently no touch tolerance applied and 1 pixel scroll movement will fire the event. It should only fire a \"scrolling\" event when the scroll direction changes and for a minimum pixel distance specified by Google's [ViewConfiguration.getScaledTouchSlop()|https://developer.android.com/reference/android/view/ViewConfiguration#getScaledTouchSlop()] API.\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({backgroundColor: 'gray'});\r\nvar listView = Ti.UI.createListView();\r\nvar sections = [];\r\n\r\nvar fruitSection = Ti.UI.createListSection({ headerTitle: 'Fruits'});\r\nvar fruitDataSet = [\r\n {properties: { height: 100,title: 'Apple'}},\r\n {properties: { height: 100,title: 'Apple'}},\r\n {properties: { height: 100,title: 'Apple'}},\r\n {properties: { height: 100,title: 'Apple'}},\r\n {properties: { height: 100,title: 'Apple'}},\r\n {properties: { height: 100,title: 'Apple'}},\r\n {properties: { height: 100,title: 'Apple'}},\r\n {properties: { height: 100,title: 'Banana'}},\r\n {properties: { height: 100,title: 'Banana'}},\r\n {properties: { height: 100,title: 'Banana'}},\r\n {properties: { height: 100,title: 'Banana'}},\r\n {properties: { height: 100,title: 'Banana'}},\r\n {properties: { height: 100,title: 'Banana'}},\r\n {properties: { height: 100,title: 'Banana'}},\r\n {properties: { height: 100,title: 'Banana'}},\r\n {properties: { height: 100,title: 'Banana'}},\r\n {properties: { height: 100,title: 'Banana'}},\r\n {properties: { height: 100,title: 'Banana'}},\r\n {properties: { height: 100,title: 'Banana'}},\r\n];\r\nfruitSection.setItems(fruitDataSet);\r\nsections.push(fruitSection);\r\n\r\nlistView.appendSection(sections);\r\nlistView.addEventListener(\"scrolling\",function(e){\r\n\tconsole.log(e.direction);\r\n})\r\nwin.add(listView);\r\nwin.open();\r\n\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: ListView should only fire \"scrolling\" event when moving a min distance", "creator": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "closedSprints": [ { "id": 1199, "state": "closed", "name": "2020 Sprint 13", "startDate": "2020-06-19T16:41:04.099Z", "endDate": "2020-07-02T16:41:00.000Z", "completeDate": "2020-07-02T15:37:12.455Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "455335", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/11680", "updateAuthor": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-05-03T13:36:08.000+0000", "updated": "2020-05-03T13:36:08.000+0000" }, { "id": "455990", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed, waiting on Jenkins build.", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-07-02T12:37:56.000+0000", "updated": "2020-07-02T12:37:56.000+0000" }, { "id": "456007", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "merged to master for 9.1.0 target", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2020-07-06T15:36:50.000+0000", "updated": "2020-07-06T15:36:50.000+0000" }, { "id": "456369", "author": { "name": "ssaddique", "key": "ssaddique", "displayName": "Sohail Saddique", "active": true, "timeZone": "Europe/London" }, "body": "Fix verified on build 9.1.0.v20200804082025. Ticket closed.", "updateAuthor": { "name": "ssaddique", "key": "ssaddique", "displayName": "Sohail Saddique", "active": true, "timeZone": "Europe/London" }, "created": "2020-08-07T10:39:13.000+0000", "updated": "2020-08-07T10:39:13.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }