Class ListViewAdapterBase
Inheritance
System.Object
ListViewAdapterBase
Namespace: Com.Telerik.Widget.List
Assembly: Telerik.Xamarin.Android.List.dll
Syntax
public abstract class ListViewAdapterBase : RecyclerView.Adapter
Constructors
ListViewAdapterBase()
Declaration
public ListViewAdapterBase()
ListViewAdapterBase(IntPtr, JniHandleOwnership)
Declaration
protected ListViewAdapterBase(IntPtr javaReference, JniHandleOwnership transfer)
Parameters
System.IntPtr
javaReference
|
Android.Runtime.JniHandleOwnership
transfer
|
Fields
InvalidId
Declaration
protected const int InvalidId = -1
Field Value
System.Int32
|
ItemViewTypeBottomIndicator
Declaration
protected const int ItemViewTypeBottomIndicator = -106
Field Value
System.Int32
|
ItemViewTypeCollapsed
Declaration
protected const int ItemViewTypeCollapsed = -109
Field Value
System.Int32
|
ItemViewTypeEmptyContent
Declaration
protected const int ItemViewTypeEmptyContent = -108
Field Value
System.Int32
|
ItemViewTypeFooter
ItemViewTypeHeader
Declaration
protected const int ItemViewTypeHeader = -103
Field Value
System.Int32
|
ItemViewTypeSwipeContent
Declaration
protected const int ItemViewTypeSwipeContent = -107
Field Value
System.Int32
|
ItemViewTypeTopIndicator
Declaration
protected const int ItemViewTypeTopIndicator = -105
Field Value
System.Int32
|
Properties
JniPeerMembers
Declaration
public override JniPeerMembers JniPeerMembers { get; }
Property Value
Java.Interop.JniPeerMembers
|
SelectionServiceProvider
Declaration
public abstract ISelectionAdapter SelectionServiceProvider { get; }
Property Value
ISelectionAdapter
|
ThresholdClass
Declaration
protected override IntPtr ThresholdClass { get; }
Property Value
System.IntPtr
|
ThresholdType
Declaration
protected override Type ThresholdType { get; }
Property Value
System.Type
|
Methods
CanDeselect(Int32)
Declaration
public virtual bool CanDeselect(int position)
Parameters
System.Int32
position
|
Returns
System.Boolean
|
CanReorder(Int32)
Declaration
public virtual bool CanReorder(int position)
Parameters
System.Int32
position
|
Returns
System.Boolean
|
CanSelect(Int32)
Declaration
public virtual bool CanSelect(int position)
Parameters
System.Int32
position
|
Returns
System.Boolean
|
CanSwipe(Int32)
Declaration
public virtual bool CanSwipe(int position)
Parameters
System.Int32
position
|
Returns
System.Boolean
|
IsGroupHeader(Int32)
Declaration
public virtual bool IsGroupHeader(int position)
Parameters
System.Int32
position
|
Returns
System.Boolean
|
IsPositionValid(Int32)
Declaration
protected virtual bool IsPositionValid(int position)
Parameters
System.Int32
position
|
Returns
System.Boolean
|
NotifyLoadingFinished()
Declaration
public virtual void NotifyLoadingFinished()
NotifyRefreshFinished()
Declaration
public virtual void NotifyRefreshFinished()
NotifySwipeExecuteFinished()
Declaration
public virtual void NotifySwipeExecuteFinished()
OnBindListViewHolder(ListViewHolder, Int32)
Declaration
public virtual void OnBindListViewHolder(ListViewHolder holder, int position)
Parameters
ListViewHolder
holder
|
System.Int32
position
|
OnBindSwipeContentHolder(ListViewHolder, Int32)
Declaration
public virtual void OnBindSwipeContentHolder(ListViewHolder holder, int position)
Parameters
ListViewHolder
holder
|
System.Int32
position
|
OnBindViewHolder(RecyclerView.ViewHolder, Int32)
Declaration
public override void OnBindViewHolder(RecyclerView.ViewHolder holder, int position)
Parameters
AndroidX.RecyclerView.Widget.RecyclerView.ViewHolder
holder
|
System.Int32
position
|
OnCreateListViewHolder(ViewGroup, Int32)
Declaration
public virtual ListViewHolder OnCreateListViewHolder(ViewGroup parent, int viewType)
Parameters
Android.Views.ViewGroup
parent
|
System.Int32
viewType
|
Returns
ListViewHolder
|
OnCreateSwipeContentHolder(ViewGroup)
Declaration
public virtual ListViewHolder OnCreateSwipeContentHolder(ViewGroup parent)
Parameters
Android.Views.ViewGroup
parent
|
Returns
ListViewHolder
|
OnCreateViewHolder(ViewGroup, Int32)
Declaration
public override RecyclerView.ViewHolder OnCreateViewHolder(ViewGroup parent, int viewType)
Parameters
Android.Views.ViewGroup
parent
|
System.Int32
viewType
|
Returns
AndroidX.RecyclerView.Widget.RecyclerView.ViewHolder
|
OnViewRecycled(ListViewHolder)
Declaration
public virtual void OnViewRecycled(ListViewHolder holder)
Parameters
ListViewHolder
holder
|
ReorderItem(Int32, Int32)
Declaration
public abstract bool ReorderItem(int p0, int p1)
Parameters
System.Int32
p0
|
System.Int32
p1
|
Returns
System.Boolean
|
UpdateLayoutParams(ListViewHolder, Boolean)
Declaration
protected virtual void UpdateLayoutParams(ListViewHolder holder, bool orientationHorizontal)
Parameters
ListViewHolder
holder
|
System.Boolean
orientationHorizontal
|