IAdapter IAdapter Interface


An Adapter object acts as a bridge between an AdapterView and the underlying data for that view.

[Android.Runtime.Register("android/widget/Adapter", "", "Android.Widget.IAdapterInvoker", ApiSince=1)]
public interface IAdapter : Android.Runtime.IJavaObject, IDisposable
type IAdapter = interface
    interface IJavaObject
    interface IDisposable


Android platform documentation

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.


Count Count

How many items are in the data set represented by this Adapter.

Handle Handle

Gets the JNI value of the underlying Android object.

(Inherited from IJavaObject)
HasStableIds HasStableIds

Indicates whether the item ids are stable across changes to the underlying data.

IsEmpty IsEmpty
ViewTypeCount ViewTypeCount


GetItem(Int32) GetItem(Int32)

Get the data item associated with the specified position in the data set.

GetItemId(Int32) GetItemId(Int32)

Get the row id associated with the specified position in the list.

GetItemViewType(Int32) GetItemViewType(Int32)

Get the type of View that will be created by View for the specified item.

GetView(Int32, View, ViewGroup) GetView(Int32, View, ViewGroup)

Get a View that displays the data at the specified position in the data set.

RegisterDataSetObserver(DataSetObserver) RegisterDataSetObserver(DataSetObserver)

Register an observer that is called when changes happen to the data used by this adapter.

UnregisterDataSetObserver(DataSetObserver) UnregisterDataSetObserver(DataSetObserver)


Extension Methods

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)

Applies to