Class ListViewAdapter
Inherited Members
Namespace: Com.Telerik.Widget.List
Assembly: Telerik.Xamarin.Android.List.dll
Syntax
public class ListViewAdapter : ListViewAdapterBase
Constructors
ListViewAdapter(IList)
Declaration
public ListViewAdapter(IList items)
Parameters
System.Collections.IList
items
|
ListViewAdapter(IList, ISelectionAdapter)
Declaration
public ListViewAdapter(IList items, ISelectionAdapter selectionAdapter)
Parameters
System.Collections.IList
items
|
ISelectionAdapter
selectionAdapter
|
ListViewAdapter(IntPtr, JniHandleOwnership)
Declaration
protected ListViewAdapter(IntPtr javaReference, JniHandleOwnership transfer)
Parameters
System.IntPtr
javaReference
|
Android.Runtime.JniHandleOwnership
transfer
|
Properties
ItemCount
Declaration
public override int ItemCount { get; }
Property Value
System.Int32
|
Items
Declaration
public virtual IList Items { get; set; }
Property Value
System.Collections.IList
|
JniPeerMembers
Declaration
public override JniPeerMembers JniPeerMembers { get; }
Property Value
Java.Interop.JniPeerMembers
|
Overrides
SelectionServiceProvider
Declaration
public override ISelectionAdapter SelectionServiceProvider { get; }
Property Value
ISelectionAdapter
|
Overrides
ThresholdClass
Declaration
protected override IntPtr ThresholdClass { get; }
Property Value
System.IntPtr
|
Overrides
ThresholdType
Declaration
protected override Type ThresholdType { get; }
Property Value
System.Type
|
Overrides
Methods
Add(Object)
Declaration
public virtual void Add(Object item)
Parameters
Java.Lang.Object
item
|
Add(Int32, Object)
Declaration
public virtual void Add(int index, Object item)
Parameters
System.Int32
index
|
Java.Lang.Object
item
|
GetItem(Int32)
Declaration
public virtual Object GetItem(int position)
Parameters
System.Int32
position
|
Returns
Java.Lang.Object
|
GetItem(Int64)
Declaration
public virtual Object GetItem(long id)
Parameters
System.Int64
id
|
Returns
Java.Lang.Object
|
GetItemId(Object)
Declaration
public virtual long GetItemId(Object item)
Parameters
Java.Lang.Object
item
|
Returns
System.Int64
|
GetPosition(Object)
Declaration
public virtual int GetPosition(Object searchItem)
Parameters
Java.Lang.Object
searchItem
|
Returns
System.Int32
|
GetPosition(Int64)
Declaration
public virtual int GetPosition(long id)
Parameters
System.Int64
id
|
Returns
System.Int32
|
Remove(Object)
Declaration
public virtual bool Remove(Object item)
Parameters
Java.Lang.Object
item
|
Returns
System.Boolean
|
Remove(Int32)
Declaration
public virtual Object Remove(int index)
Parameters
System.Int32
index
|
Returns
Java.Lang.Object
|
ReorderItem(Int32, Int32)
Declaration
public override bool ReorderItem(int oldPosition, int newPosition)
Parameters
System.Int32
oldPosition
|
System.Int32
newPosition
|
Returns
System.Boolean
|
Overrides
UpdateMainLayoutParams(ListViewHolder, Boolean)
Declaration
protected virtual void UpdateMainLayoutParams(ListViewHolder holder, bool orientationHorizontal)
Parameters
ListViewHolder
holder
|
System.Boolean
orientationHorizontal
|
UpdateSwipeLayoutParams(ListViewHolder, Boolean)
Declaration
protected virtual void UpdateSwipeLayoutParams(ListViewHolder holder, bool orientationHorizontal)
Parameters
ListViewHolder
holder
|
System.Boolean
orientationHorizontal
|