{ "id": "170786", "key": "TIMOB-25667", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "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": "20115", "name": "Release 7.3.0", "archived": false, "released": true, "releaseDate": "2018-08-17" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2018-05-09T22:39:51.000+0000", "created": "2018-01-13T02:37:31.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "TableView", "android", "parity" ], "versions": [], "issuelinks": [], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2018-06-21T16:32:43.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": "*Summary:*\r\nA TableView on iOS supports a \"scrollable\" property which can enable/disable touch scrolling by the end-user. We should add support on Android as well for parity.\r\n_(Note: Android ListViews already supports a similar feature.)_\r\n\r\n*Test:*\r\n\r\n{code:javascript}\r\nvar window = Ti.UI.createWindow();\r\nvar tableData = [];\r\nfor (var index = 1; index <= 100; index++) {\r\n\tvar row = Ti.UI.createTableViewRow({ title: \"Row \" + index.toString() });\r\n\ttableData.push(row);\r\n}\r\nvar tableView = Ti.UI.createTableView(\r\n{\r\n\tdata: tableData,\r\n\tscrollable: true,\r\n});\r\nwindow.add(tableView);\r\nfunction createButtonText() {\r\n\treturn tableView.scrollable ? \"Disable Scrolling\" : \"Enable Scrolling\";\r\n}\r\nvar button = Ti.UI.createButton(\r\n{\r\n\ttitle: createButtonText(),\r\n\tright: \"5dp\",\r\n\tbottom: \"5dp\",\r\n});\r\nbutton.addEventListener(\"click\", function(e) {\r\n\ttableView.scrollable = !tableView.scrollable;\r\n//\ttableView.setScrollable(!tableView.getScrollable());\r\n\tbutton.title = createButtonText();\r\n});\r\nwindow.add(button);\r\nwindow.open();\r\n{code}\r\n\r\n", "attachment": [], "flagged": false, "summary": "Android: Add TableView \"scrollable\" property support", "creator": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 1000, "state": "closed", "name": "2018 Sprint 04 SDK", "startDate": "2018-02-12T04:23:01.913Z", "endDate": "2018-02-26T04:23:00.000Z", "completeDate": "2018-02-26T19:36:01.769Z", "originBoardId": 114 }, { "id": 126, "state": "closed", "name": "2018 Sprint 05 SDK", "startDate": "2018-02-25T19:38:08.926Z", "endDate": "2018-03-11T18:38:00.000Z", "completeDate": "2018-03-11T22:06:01.520Z", "originBoardId": 100 } ], "comment": { "comments": [ { "id": "433112", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR (master): https://github.com/appcelerator/titanium_mobile/pull/9728", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-01-13T02:48:58.000+0000", "updated": "2018-01-13T02:48:58.000+0000" }, { "id": "434547", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR (7.1.x): https://github.com/appcelerator/titanium_mobile/pull/9836", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-02-15T21:55:06.000+0000", "updated": "2018-02-15T21:55:06.000+0000" }, { "id": "437439", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "7.1.X PR https://github.com/appcelerator/titanium_mobile/pull/9836 --- Closed.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-05-07T19:12:23.000+0000", "updated": "2018-05-07T19:12:23.000+0000" }, { "id": "437440", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed.\r\n\r\nWaiting for merger to be enabled.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-05-07T19:12:39.000+0000", "updated": "2018-05-07T19:12:39.000+0000" }, { "id": "437548", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR Merged.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-05-09T22:39:45.000+0000", "updated": "2018-05-09T22:39:45.000+0000" }, { "id": "438594", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket. Improvement can be seen in SDK Version: 7.3.0.v20180618182516\r\n\r\nTest and other information can found at: \r\nhttps://github.com/appcelerator/titanium_mobile/pull/9728", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-06-21T16:32:38.000+0000", "updated": "2018-06-21T16:32:38.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }