Share via


RemoteViews.SetImageViewUri(Int32, Uri) Method

Definition

Equivalent to calling ImageView#setImageURI(Uri)

[Android.Runtime.Register("setImageViewUri", "(ILandroid/net/Uri;)V", "GetSetImageViewUri_ILandroid_net_Uri_Handler")]
public virtual void SetImageViewUri (int viewId, Android.Net.Uri? uri);
[<Android.Runtime.Register("setImageViewUri", "(ILandroid/net/Uri;)V", "GetSetImageViewUri_ILandroid_net_Uri_Handler")>]
abstract member SetImageViewUri : int * Android.Net.Uri -> unit
override this.SetImageViewUri : int * Android.Net.Uri -> unit

Parameters

viewId
Int32

The id of the view whose drawable should change

uri
Uri

The Uri for the image

Attributes

Remarks

Java documentation for android.widget.RemoteViews.setImageViewUri(int, android.net.Uri).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to