Condividi tramite


ImageSwitcher.SetImageURI(Uri) Method

Definition

Sets a new image on the ImageSwitcher with the given Uri.

[Android.Runtime.Register("setImageURI", "(Landroid/net/Uri;)V", "GetSetImageURI_Landroid_net_Uri_Handler")]
public virtual void SetImageURI (Android.Net.Uri? uri);
[<Android.Runtime.Register("setImageURI", "(Landroid/net/Uri;)V", "GetSetImageURI_Landroid_net_Uri_Handler")>]
abstract member SetImageURI : Android.Net.Uri -> unit
override this.SetImageURI : Android.Net.Uri -> unit

Parameters

uri
Uri

the Uri of an image

Attributes

Remarks

Sets a new image on the ImageSwitcher with the given Uri. This will set that image on the next ImageView in the switcher and will then switch to that view.

Java documentation for android.widget.ImageSwitcher.setImageURI(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