{ "id": "64230", "key": "TIMOB-3598", "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": "12079", "description": "", "name": "Sprint 2011-39", "archived": true, "released": true, "releaseDate": "2011-10-03" } ], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2011-10-03T05:30:13.000+0000", "created": "2011-04-15T03:47:03.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "android", "feature", "reported-1.6.1", "scrollable", "scrollableview", "view" ], "versions": [ { "id": "11570", "description": "", "name": "Release 1.7.2", "archived": true, "released": true, "releaseDate": "2011-07-21" } ], "issuelinks": [ { "id": "12872", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "79818", "key": "TIMOB-5169", "fields": { "summary": "Android: Implement new ScrollableView behaving more similar to 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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2011-10-03T05:30:20.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": "Request \"live scrolling\" for scrollableView, which is a transition where the current view slides gradually out of the visible space to be replaced by the next view that similarly slides gradually into the visible space, demonstrated in [this Android app review video|http://www.youtube.com/watch?v=etg5YGbtqgc].\r\n\r\nNote that this is currently the default behavior for iOS.\r\n\r\nThere is a concern that a control, like a button, on a view within a live scrolling scrollableView could cause a conflict with the scroll gesture, or at least confuse the user. However, using the following code to test this, it doesn't currently seem to be an issue:\r\n\r\n{code:lang=javascript}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: \"black\"\r\n});\r\n\r\nvar view1 = Ti.UI.createView({\r\n backgroundColor:'red'\r\n});\r\nvar l1 = Ti.UI.createLabel({\r\n text:'View 1',\r\n color:'#fff',\r\n top:100,\r\n width:'auto',\r\n height:'auto'\r\n});\r\nview1.add(l1);\r\n\r\nvar view2 = Ti.UI.createView({\r\n backgroundColor:'blue'\r\n});\r\nvar l2 = Ti.UI.createLabel({\r\n text:'View 2)',\r\n color:'#fff',\r\n top:100,\r\n width:'auto',\r\n height:'auto'\r\n});\r\nview2.add(l2);\r\n\r\nvar button2 = Ti.UI.createButton({\r\n title:\"click me\"\r\n});\r\nview2.add(button2);\r\n\r\nbutton2.addEventListener(\"click\", function(){\r\n Ti.API.info(\"button2 was clicked\");\r\n});\r\n\r\nvar view3 = Ti.UI.createView({\r\n backgroundColor:'green'\r\n});\r\nvar l3 = Ti.UI.createLabel({\r\n text:'View 3',\r\n color:'#fff',\r\n top:100,\r\n width:'auto',\r\n height:'auto'\r\n});\r\nview3.add(l3);\r\n\r\nvar scrollView = Titanium.UI.createScrollableView({\r\n views:[view1,view2,view3],\r\n showPagingControl:true,\r\n pagingControlHeight:30,\r\n maxZoomScale:2.0,\r\n currentPage:1\r\n});\r\n\r\nwin.add(scrollView);\r\n\r\nwin.open();\r\n{code}\r\n\r\n\r\nFeature originally requested by user in the Q&A thread: [ScrollableView with live scrolling on android?|http://developer.appcelerator.com/question/118484/scrollableview-with-live-scrolling-on-android]", "attachment": [], "flagged": false, "summary": "Android [feature request]: live scrolling for scrollableView", "creator": { "name": "hal", "key": "hal", "displayName": "hal", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "environment": null, "comment": { "comments": [ { "id": "134198", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "For some reason, Ralf changed this ticket to make himself the reporter. Correcting this issue, by restoring myself as reporter.", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-05-24T16:25:32.000+0000", "updated": "2011-05-24T16:25:32.000+0000" }, { "id": "167572", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "This ended up being duplicated by TIMOB-5169. We now have live scrolling in master.", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-10-03T05:30:00.000+0000", "updated": "2011-10-03T05:30:00.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }