SimpleCursorTreeAdapter.SetViewImage(ImageView, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called by bindView() to set the image for an ImageView.
[Android.Runtime.Register("setViewImage", "(Landroid/widget/ImageView;Ljava/lang/String;)V", "GetSetViewImage_Landroid_widget_ImageView_Ljava_lang_String_Handler")]
protected virtual void SetViewImage (Android.Widget.ImageView? v, string? value);
[<Android.Runtime.Register("setViewImage", "(Landroid/widget/ImageView;Ljava/lang/String;)V", "GetSetViewImage_Landroid_widget_ImageView_Ljava_lang_String_Handler")>]
abstract member SetViewImage : Android.Widget.ImageView * string -> unit
override this.SetViewImage : Android.Widget.ImageView * string -> unit
Parameters
ImageView to receive an image
- value
- String
the value retrieved from the cursor
- Attributes
Remarks
Called by bindView() to set the image for an ImageView. By default, the value will be treated as a Uri. Intended to be overridden by Adapters that need to filter strings retrieved from the database.
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.