{ "id": "63552", "key": "TIMOB-2920", "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-05-02T18:05:40.000+0000", "created": "2011-04-15T03:32:58.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "api" ], "versions": [ { "id": "11233", "name": "Release 1.6.0", "archived": true, "released": true, "releaseDate": "2011-02-23" }, { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-05-02T21:18:48.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}
CoverFlowView does not fire all events listed on API docs, which\r\nis preventing a customer from listening for the touchmove\r\nevent.
\r\nThese events should fire, or the ones that do not fire should be\r\nremoved from the API docs.
\r\niPhone Simulator 4.2
\r\nBROKEN on Titanium Mobile 1.6.0 (1/19/11 13:13)
Requires KS_nav_ui.png and KS_nav_Views.png, which are created\r\nby default in new projects.
\r\n\r\n// Create a window with a cover flow view.\r\nvar win = Ti.UI.createWindow({ title:'CoverFlowView Events', backgroundColor: '#fff' });\r\nvar cfv = Ti.UI.createCoverFlowView({\r\n images: [\r\n { image: 'KS_nav_ui.png', width: 225, height: 225 },\r\n { image: 'KS_nav_views.png', width: 225, height: 225 }\r\n ]\r\n});\r\nwin.add(cfv);\r\nwin.open();\r\n\r\n// Add an event listener to the cover flow view that simply prints \"Event Fired: {name of event}\"\r\nfunction listenForEvent(name) {\r\n cfv.addEventListener(name, function() {\r\n Ti.API.info('Event Fired: ' + name);\r\n });\r\n}\r\n\r\n// WORKS: These events will properly fire:\r\nlistenForEvent('change');\r\nlistenForEvent('click');\r\n\r\n// BROKEN: These events will NOT fire:\r\nlistenForEvent('dblclick');\r\nlistenForEvent('doubletap');\r\nlistenForEvent('singletap');\r\nlistenForEvent('swipe');\r\nlistenForEvent('touchcancel');\r\nlistenForEvent('touchend');\r\nlistenForEvent('touchmove');\r\nlistenForEvent('touchstart');\r\nlistenForEvent('twofingertap');
\r\n
\r\nAttached.