Android.Widget.SimpleAdapter Class
An easy adapter to map static data to views defined in an XML file.

See Also: SimpleAdapter Members

Syntax

[Android.Runtime.Register("android/widget/SimpleAdapter", DoNotGenerateAcw=true)]
public class SimpleAdapter : BaseAdapter, IFilterable, IDisposable

Remarks

An easy adapter to map static data to views defined in an XML file. You can specify the data backing the list as an ArrayList of Maps. Each entry in the ArrayList corresponds to one row in the list. The Maps contain the data for each row. You also specify an XML file that defines the views used to display the row, and a mapping from keys in the Map to specific views. Binding data to views occurs in two phases. First, if a NoType:android/widget/SimpleAdapter$ViewBinder;Href=../../../reference/android/widget/SimpleAdapter.ViewBinder.html is available, NoType:android/widget/SimpleAdapter$ViewBinder;Href=../../../reference/android/widget/SimpleAdapter.ViewBinder.html#setViewValue(android.view.View, java.lang.Object, java.lang.String) is invoked. If the returned value is true, binding has occurred. If the returned value is false, the following views are then tried in order:

If no appropriate binding can be found, an Java.Lang.IllegalStateException is thrown.

[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