{ "id": "60649", "key": "TIMOB-17", "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": "11210", "name": "Release 0.6.0", "archived": true, "released": true, "releaseDate": "2009-08-12" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:50:07.000+0000", "created": "2011-04-15T02:22:35.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:50:07.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}
The purpose of this API is to create an activity indicator.
\n\nvar ind = Titanium.UI.createActivityIndicator();\nind.setType(Titanium.UI.ActivityIndicator.DETERMINANT);\nind.setMin(0);\nind.setMax(100);\nind.setPos(0);\nind.show();\n\n// for indeterminant only\nind.hide();\n\nNote: the activity indicator can be set on the toolbar or navbar just like a button
\n
\nid : optional. the HTML element id where the\nactivity indicator is placed
\ntype :\nTitanium.UI.ActivityIndicator.INDETERMINANT or\nTitanium.UI.ActivityIndicator.DETERMINANT
\nmessage : optional. Add a message with the\nindicator (e.g., \"loading...\")
\nmin : min value for determinant indicator
\nmax : max value for determinant indicator
\npos : current value for determinant\nindicator
\nsetMessage : same as message argument
\nsetType : same as type argument
\nsetLocation : same as location argument
\nsetMin : same as min argument
\nsetMax : same as max argument
\nsetPos : change the value of a determinant\nindicator
\nshow : show the indicator
\nhide : hide the indicator (for indeterminant\nindicators only)