{ "id": "64090", "key": "TIMOB-3458", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "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": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2017-06-08T18:44:33.000+0000", "created": "2011-04-15T03:45:26.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [ { "id": "11233", "name": "Release 1.6.0", "archived": true, "released": true, "releaseDate": "2011-02-23" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-06-08T18:44:33.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}
I've added code and description of the issue here:
\r\n\r\nhttp://developer.appcelerator.com/question/117589/scrollableview-no...
\r\nCurrently if a user swipes quickly a scrollableview, then there\r\nis no way of knowing on what page they are until they stop\r\nscrolling.
\r\nAnother issue is described here:
\r\n\r\nhttp://developer.appcelerator.com/question/117588/scrollableview-no...
That has an example of the scroll event not getting fired all\r\nthe time.
\r\nThis has been tested with Ti 1.6 and several iPhones from 3 to\r\n4.2
Daniel, please paste your code in your tickets (or in gist)\nrather than providing a link to it, just in case the address\nchanges at some point. Thanks.
\nHence, your code:
\n\nvar win = Titanium.UI.createWindow({ \n backgroundColor:'#fff'\n});\n \nvar views_arr = [];\n \nfor(var i=0; i<10; i++){\n views_arr[i] = Ti.UI.createView({\n width: 200,\n height: 100,\n borderColor:'#000' \n });\n var lbl = Titanium.UI.createLabel({\n text:'view '+i,\n color:'#000',\n });\n views_arr[i].add(lbl);\n}\n \nscrollableView = Titanium.UI.createScrollableView(\n{\n views: views_arr,\n top: 0,\n left: 0,\n right: 0,\n borderWidth: 0,\n showPagingControl:true\n});\n \nscrollableView.addEventListener('scroll', function(e)\n{\n Titanium.API.info(\"Image Scrolled current page: \" + e.currentPage);\n});\n \nscrollableView.addEventListener('touchstart', function(e)\n{\n Titanium.API.info(\"Image touchstart: \" + e.x);\n});\n \nscrollableView.addEventListener('touchmove', function(e)\n{\n Titanium.API.info(\"Image touchmove: \" + e.x);\n});\n \nscrollableView.addEventListener('touchend', function(e)\n{\n Titanium.API.info(\"Image touchend: \" + e.x);\n});\nwin.add(scrollableView);\nwin.open();
\n
I am having the same issue.I am having the same issue trying to\ncreate a workaround for the swipe event not working as well\nlol.
\nTouch start works fine, just no touch end.
\nUsing it on a View.
Tested on android 2.2
\nTi Sdk 1.2.2
Ti SDK 1.6
\nTi Developer 1.2.2
My Mistake.
Richard
\nThis is an iOS ticket, assigned to the iOS team. If you need\nadvice about a specific issue you have, please raise it with the\ncommunity in the Q&A\n(as explained in the \nContributing to Titanium guide) rather than introduce errors\ninto tickets. Note that your issue is described in ticket #3476,\nwhich you would have found by using \nthis search.
\nThank you for your understanding.