{ "id": "79819", "key": "TIMOB-5170", "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": [ { "id": "12088", "description": "", "name": "Sprint 2011-48", "archived": true, "released": true, "releaseDate": "2011-12-05" }, { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-01-04T15:39:19.000+0000", "created": "2011-08-29T21:21:41.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "merged-v8", "module_scrollableview", "parity", "qe-testadded", "stage" ], "versions": [ { "id": "11570", "description": "", "name": "Release 1.7.2", "archived": true, "released": true, "releaseDate": "2011-07-21" } ], "issuelinks": [ { "id": "14719", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "inwardIssue": { "id": "85318", "key": "TIMOB-7339", "fields": { "summary": "iOS: Ti.UI.ScrollableView showPagingControl sould be false by default", "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": "Low", "id": "4" }, "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": "2014-02-24T19:48:39.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": "showPagingControl should be false by default to achieve parity with iOS", "attachment": [ { "id": "22821", "filename": "app.js", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-09-06T11:16:20.000+0000", "size": 1000, "mimeType": "text/javascript" } ], "flagged": false, "summary": "Android: Ti.UI.ScrollableView showPagingControl sould be false by default", "creator": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "environment": null, "comment": { "comments": [ { "id": "165083", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Added a function test", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-09-06T11:16:20.000+0000", "updated": "2011-09-06T11:16:41.000+0000" }, { "id": "167134", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "cf resolved via the totally new ScrollableView, TIMOB-5169", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-09-27T14:15:00.000+0000", "updated": "2011-09-27T14:15:00.000+0000" }, { "id": "168162", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "Reopening because reports \"undefined\" if checked, instead of false. Behavior is still as if it was false, but property check shows undefined.", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-10-06T13:54:55.000+0000", "updated": "2011-10-06T13:54:55.000+0000" }, { "id": "174117", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "h3. Testing Notes\r\n\r\n* Use the app.js below and create an app and run it.\r\n* When the app loads, it should say \"value: false\" at the bottom right. This is reading the scrollable view's {{showPagingControl}} property, *without* that property having been set. The important thing is that it says \"false\" instead of \"undefined\".\r\n* Play with the checkbox and make sure it works as expected.\r\n* Please **also test the scrollable view in Kitchen Sink**, under Base UI - Views - Scroll Views - Scrollable View.\r\n\r\n{code:title=app.js}\r\nvar win = Ti.UI.createWindow({backgroundColor:'#444', exitOnClose: true});\r\n\r\nvar views = [];\r\n\r\nfunction makeView(color) {\r\n\treturn Ti.UI.createView({\r\n\t\tright: 0, left: 0, top: 0, bottom: 0,\r\n\t\tbackgroundColor: color\r\n\t});\r\n}\r\n\r\nviews.push(makeView(\"red\"));\r\nviews.push(makeView(\"green\"));\r\nviews.push(makeView(\"blue\"));\r\nvar scrollableView = Ti.UI.createScrollableView({\r\n\tbottom: \"50dp\", left: \"10dp\", right: \"10dp\", top: \"50dp\",\r\n\tviews: views\r\n});\r\nwin.add(scrollableView);\r\n\r\n// Switch to toggle the showPagingControl property on the scrollable view.\r\nvar showControlSwitch = Ti.UI.createSwitch({\r\n\tvalue: scrollableView.showPagingControl,\r\n\tstyle: Ti.UI.Android.SWITCH_STYLE_CHECKBOX,\r\n\ttitle: \"showPagingControl?\",\r\n\tbottom: \"5dp\", height: \"40dp\", left: \"10dp\", width: \"150dp\"\r\n});\r\nwin.add(showControlSwitch);\r\n\r\n// Displays current value of showPagingControl property.\r\n// This should default to false.\r\nvar showControlProperty = Ti.UI.createLabel({\r\n\tleft: \"160dp\", text: \"value: \" + scrollableView.showPagingControl,\r\n\tbottom: \"5dp\", height: \"40dp\", right: \"5dp\"\r\n});\r\nwin.add(showControlProperty);\r\n\r\nshowControlSwitch.addEventListener('change', function (e) {\r\n scrollableView.showPagingControl = e.value;\r\n showControlProperty.text = 'value: ' + scrollableView.showPagingControl;\r\n});\r\n\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-11-28T15:51:39.000+0000", "updated": "2011-11-28T15:51:39.000+0000" }, { "id": "175064", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with 1.8.0.1.v20111205164258 v8/rhino on\r\nGalaxy 10.1 (3.1)\r\nDroid 1 (2.2.2)\r\nNexus S (2.3.6)\r\nEmulator (4.0)", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-06T14:50:44.000+0000", "updated": "2011-12-06T14:50:44.000+0000" }, { "id": "175077", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "open to add label", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-06T15:20:53.000+0000", "updated": "2011-12-06T15:20:53.000+0000" }, { "id": "178035", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "adding tag\r\n", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-01-04T15:39:00.000+0000", "updated": "2012-01-04T15:39:00.000+0000" }, { "id": "278870", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Anvil test case added.\nhttps://github.com/appcelerator/titanium_mobile/pull/4943", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-10T16:34:02.000+0000", "updated": "2013-11-10T16:34:02.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }