{ "id": "63821", "key": "TIMOB-3189", "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": "11258", "description": "Holding Pen for Triaged Issues", "name": "Backlog", "archived": false, "released": false } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2011-04-15T03:39:05.000+0000", "created": "2011-04-15T03:39:04.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "android", "feature", "klist", "reported-1.5.1", "reported-1.6.0", "rplist" ], "versions": [], "issuelinks": [], "assignee": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-02T19:30:21.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": "{html}
For Android tableview.editing = true; does not put the table\nview into editing mode as it does in iOS.
\nTested with TiSDK 1.5.1, 1.6.0RC1, Android SDK 2.2
\nvar win = Titanium.UI.createWindow({ \n backgroundColor:'#000'\n});\n\nvar data1 = [];\n\nfor(var v=0; v<=4; v++) {\n var row = Ti.UI.createTableViewRow({\n title:'Section 1 row '+v,\n className:'sectionrow'\n });\n data1.push(row);\n}\n\nvar tableview = Ti.UI.createTableView({\n top: 0,\n height: 500,\n data:data1\n});\n\nvar button = Ti.UI.createButton({\n title: 'edit',\n height: 40,\n width: 200,\n bottom: 20\n});\nbutton.addEventListener('click', function(e) {\n \n if (tableview.editing === true){\n tableview.editing = false;\n }else{\n tableview.editing = true;\n }\n});\n win.add(tableview);\n win.add(button);\n win.open();
\n
\n\"editable\" and \"separatorStyle\" are also not implemented in\nAndroid
\nThis is an iOS user experience and not common to Android or\nBlackberry UIs. It might get added, but it's non-trivial and forces\na foreign experience on Android and Blackberry users.
Moving to invalid.
Agreed that this is a foreign concept to Android.