{ "id": "90650", "key": "TIMOB-8831", "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": "15114", "description": "2013 Sprint 09 BB", "name": "2013 Sprint 09 BB", "archived": true, "released": true, "releaseDate": "2013-05-06" }, { "id": "15107", "description": "2013 Sprint 09", "name": "2013 Sprint 09", "archived": true, "released": true, "releaseDate": "2013-05-06" }, { "id": "15479", "description": "Release 3.1.2", "name": "Release 3.1.2", "archived": true, "released": true, "releaseDate": "2013-07-31" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-05-06T05:42:20.000+0000", "created": "2012-04-20T11:28:09.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "notable", "qe-closed-3.2.0", "qe-testadded" ], "versions": [], "issuelinks": [], "assignee": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2013-12-20T00:53:25.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": "10230", "name": "BlackBerry", "description": "BlackBerry Platform" } ], "description": "As a developer, I want a view that allows displaying a set of child\r\nviews that can be navigated through by using swipe gestures.\r\n\r\nThe existing Titanium API for this view is Ti.UI.ScrollableView.\r\nWhile Cascades does not provide a built-in control for this type of view,\r\nit does appear possible to implement our own custom control.", "attachment": [], "flagged": false, "summary": "BlackBerry: Implement important Titanium.UI.ScrollableView functionality", "creator": { "name": "fboisvert", "key": "fboisvert", "displayName": "Francois Boisvert", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "fboisvert", "key": "fboisvert", "displayName": "Francois Boisvert", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "218687", "author": { "name": "tpetrenko", "key": "tpetrenko", "displayName": "Tatyana Petrenko", "active": true, "timeZone": "America/New_York" }, "body": "There is no such thing in Cascades support. This should likely be removed from the Beta scope.", "updateAuthor": { "name": "tpetrenko", "key": "tpetrenko", "displayName": "Tatyana Petrenko", "active": true, "timeZone": "America/New_York" }, "created": "2012-09-12T12:53:35.000+0000", "updated": "2012-09-12T12:53:35.000+0000" }, { "id": "249044", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Pull request https://github.com/appcelerator/titanium_mobile_blackberry/pull/31", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-04-25T19:33:30.000+0000", "updated": "2013-04-25T19:33:30.000+0000" }, { "id": "283633", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Test code:\n{code}\nvar win = Ti.UI.createWindow();\n\nvar views = [];\nfor(var i = 0; i < 11; i++) {\n var view = Ti.UI.createView({\n backgroundColor: '#'+((1<<24)*(Math.random()+1)|0).toString(16).substr(1)\n });\n views.push(view);\n}\n//\nvar otherView = Ti.UI.createView({\n backgroundColor: 'red'\n});;\n\nviews.push(otherView);\n\nvar scrollableView = Ti.UI.createScrollableView({\n currentPage: 4,\n views: views,\n top: 0,\n width: 200,\n height: 112\n});\n\nvar scrollToAnimated = Ti.UI.createButton({\n title: 'scroll animated',\n bottom: 40,\n right: 0\n});\n\nvar scrollToNotAnimated = Ti.UI.createButton({\n title: 'scroll',\n bottom: 40,\n left: 0\n});\n\nvar prev = Ti.UI.createButton({\n bottom: 0,\n left:0,\n title: 'prev'\n});\nvar next = Ti.UI.createButton({\n bottom: 0,\n right:0,\n title: 'next'\n});\nvar x = 0;\n\nprev.addEventListener('click', function(){\n scrollableView.movePrevious();\n});\nnext.addEventListener('click', function(){\n scrollableView.moveNext();\n});\n\nscrollToAnimated.addEventListener('click', function(){\n scrollableView.scrollToView(otherView, true);\n});\n\nscrollToNotAnimated.addEventListener('click', function(){\n scrollableView.scrollToView(2, false);\n});\nwin.add(prev);\nwin.add(next);\nwin.add(scrollToAnimated);\nwin.add(scrollToNotAnimated);\nwin.add(scrollableView);\n\nwin.open();\n{code}", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-12-10T21:33:37.000+0000", "updated": "2013-12-10T21:33:37.000+0000" }, { "id": "283644", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested the above code with:\nAppcelerator Studio, build: 3.2.0.201312091648\nTitanium SDK, build: 3.2.0.v20131210112451\nCLI 3.2.0- cr\nAlloy 1.3.0-cr\nBB Z10 10.1.0.2019\n\nVerified scroll, scroll animated.", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-10T22:05:34.000+0000", "updated": "2013-12-10T22:05:34.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }