{ "id": "61963", "key": "TIMOB-1331", "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": "11226", "name": "Release 1.5.0 M01", "archived": true, "released": true, "releaseDate": "2010-11-15" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:55:53.000+0000", "created": "2011-04-15T02:49:37.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "defect" ], "versions": [], "issuelinks": [], "assignee": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:55:53.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}
iPhone allows to access the 'children' property on each window,\nscrollableView, view... but this seems not available in\nAndroid.
\nvar win = Titanium.UI.currentWindow;
\nTitanium.API.debug(win.children); // is null
\nif (win.children) {
\nfor (var index = 0; index < win.children.length; index++) {
\n win.remove(win.children[index]);
\n
\n} }
Just ran across this limitation myself; since I have premium\nsupport I'm going to see if I can get them to prioritize this. It\nseems like it might be as simple as adding a getChildren() getter\nmethod to TiViewProxy.
Tickets with no one responsible get lost. I've moved it into 1.5\nbut I can't promise we'll get to it.
pass verified android sim 1.6/2.1 Titanium SDK version: 1.5.0\n(11/27/10 10:50 aeb004c)