Android.Widget.ImageView.SetImageURI Method
Sets the content of this ImageView to the specified Uri.

Syntax

[Android.Runtime.Register("setImageURI", "(Landroid/net/Uri;)V", "GetSetImageURI_Landroid_net_Uri_Handler")]
public virtual void SetImageURI (Android.Net.Uri uri)

Parameters

uri
The Uri of an image

Remarks

Sets the content of this ImageView to the specified Uri.

This does Bitmap reading and decoding on the UI thread, which can cause a latency hiccup. If that's a concern, consider using ImageView.SetImageDrawable(Android.Graphics.Drawables.Drawable) or ImageView.SetImageBitmap(Android.Graphics.Bitmap) and Android.Graphics.BitmapFactory instead.

[Android Documentation]

Requirements

Namespace: Android.Widget
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1