{ "id": "97597", "key": "TIMOB-10028", "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": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2012-11-01T18:10:44.000+0000", "created": "2012-07-18T16:04:29.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "api", "parity" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [], "assignee": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "updated": "2017-03-22T22:26:41.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": "Android does not allow adding tabs to a tabgroup via setting the \"tabs\" property directly (at least during creation) - note that iOS does allow this, and so this is a parity issue.\r\n\r\n{code}\r\nvar tab1 = Ti.UI.createTab({\r\n\twindow:Ti.UI.createWindow(),\r\n\ttitle:'win1'\r\n});\r\nvar tab2 = Ti.UI.createTab({\r\n\twindow:Ti.UI.createWindow(),\r\n\ttitle:\"win2\"\r\n});\r\n\r\nvar tabgrp = Ti.UI.createTabGroup({\r\n\ttabs:[tab1, tab2]\r\n})\r\ntabgrp.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: Cannot set 'tabs' property on a tabgroup", "creator": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "225811", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Dup of TIMOB-11434", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-11-01T18:10:44.000+0000", "updated": "2012-11-01T18:10:44.000+0000" }, { "id": "415126", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate and links to the related ticket have been provided above.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-22T22:26:41.000+0000", "updated": "2017-03-22T22:26:41.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }