{ "id": "60760", "key": "TIMOB-128", "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": "11213", "name": "Release 0.7.0", "archived": true, "released": true, "releaseDate": "2009-10-05" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:52:05.000+0000", "created": "2011-04-15T02:24:04.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:52:05.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}

Purpose

\n

Provide an ImageView for viewing images

\n

API Spec

\n
\n\n//  create view using local resource\nvar view1 = Titanium.UI.createImageView({url:'my.png'});\n\n//  create view using file resource\nvar view2 = Titanium.UI.createImageView({url:'file://my.png'});\n\n// dynamically set the image value\nview1.setURL('my.png');\n\n// add view to window\nTitanium.UI.currentWindow.addView(view1);\n\n// add view to window\nTitanium.UI.currentWindow.addView(view2);\n\n\n// show view\nTitanium.UI.currentWindow.showView(view1);\n
{html}", "attachment": [], "flagged": false, "summary": "API - ImageView", "creator": { "name": "nwright", "key": "nwright", "displayName": "Nolan Wright", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "nwright", "key": "nwright", "displayName": "Nolan Wright", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }