{ "id": "161299", "key": "TIMOB-23564", "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": null, "resolutiondate": null, "created": "2016-06-23T15:06:07.000+0000", "priority": null, "labels": [ "ScrollableView", "Windows", "Windows-Phone" ], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-02-28T19:55:37.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [], "description": "A ScrollableView on Windows acts more like a horizontal ScrollView. There is no paging like on Android and iOS. When you log the currentPage of the ScrollableView, it always returns 0.\r\n\r\nindex.xml\r\n{code:xml}\r\n\r\n\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t\r\n\r\n{code}\r\n\r\nindex.js\r\n{code:javascript}\r\nfunction logCurrentPage() {\r\n\tTi.API.info($.pageContainer.getCurrentPage());\r\n}\r\n\r\n$.index.open();\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "Windows: paging in ScrollableView not working", "creator": { "name": "NLKok", "key": "nlkok", "displayName": "Niels Kok", "active": true, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "NLKok", "key": "nlkok", "displayName": "Niels Kok", "active": true, "timeZone": "Europe/Amsterdam" }, "environment": null, "comment": { "comments": [ { "id": "389079", "author": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "body": " \r\nHello,\r\nTested the issue with the sample code provided by the reporter and got the same behavior.\r\nHere are the details:\r\n\r\n*Test code:* Reporter's sample code\r\n\r\n*Test Steps:*\r\n\r\n1.Create an alloy project\r\n2.Copy sample code into app.js and run it on windows device\r\n3. Single tap on page 1 and page 2 and got currentPage of the scrollableView always returns 0.\r\n\r\n\r\n*Test Environment:*\r\nMicrosoft Windows 8.1 Enterprise N, Windows phone – 8.1\r\nAppcelerator Command-Line Interface, version 5.2.2\r\nAppcelerator Studio, build: 4.5.0.201602170821\r\n Node.js Version = 0.12.7,npm Version = 2.11.3\r\nTitanium SDK 5.2.2.GA\r\n\r\n*Test Result:*\r\nCheck this [link |https://i.imgsafe.org/f62f7d45f9.png].", "updateAuthor": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-06-26T05:35:46.000+0000", "updated": "2016-06-26T05:35:46.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }