[]
        
(Showing Draft Content)

C1.Android.DataCollection.C1RecyclerViewAdapter-1

C1RecyclerViewAdapter<T> Class

This class is the bridge between AndroidX.RecyclerView.Widget.RecyclerView and C1DataCollection<T>.

Inheritance
C1RecyclerViewAdapter<T>
Namespace: C1.Android.DataCollection
Assembly: C1.Android.DataCollection.dll
Syntax
public class C1RecyclerViewAdapter<T> : RecyclerView.Adapter where T : class
Type Parameters
Name Description
T

Constructors

Name Description
C1RecyclerViewAdapter(IDataCollection<T>)

Initializes a new instance of the C1RecyclerViewAdapter<T> class.

Properties

Name Description
DataCollection

Gets the data collection which provides the data items.

ItemCount

Gets the number of items.

Methods

Name Description
GetItemViewType(int)
OnBindGroupViewHolder(ViewHolder, int)
OnBindItemViewHolder(ViewHolder, int)
OnBindLoadViewHolder(ViewHolder, int)
OnBindViewHolder(ViewHolder, int)
OnCreateGroupViewHolder(ViewGroup)
OnCreateItemViewHolder(ViewGroup)
OnCreateLoadViewHolder(ViewGroup)
OnCreateViewHolder(ViewGroup, int)

See Also

AndroidX.RecyclerView.Widget.RecyclerView.Adapter