Class LegendItemListAdapter
Inheritance
System.Object
LegendItemListAdapter
Namespace: Com.Telerik.Widget.Primitives.Legend
Assembly: Telerik.Xamarin.Android.Chart.dll
Syntax
public class LegendItemListAdapter : RecyclerView.Adapter
Constructors
LegendItemListAdapter(Context, IList<LegendItem>, RadSize, Single, Int32, Boolean)
Declaration
public LegendItemListAdapter(Context context, IList<LegendItem> items, RadSize iconSize, float fontSize, int fontColor, bool allowSelection)
Parameters
Android.Content.Context
context
|
System.Collections.Generic.IList<LegendItem>
items
|
RadSize
iconSize
|
System.Single
fontSize
|
System.Int32
fontColor
|
System.Boolean
allowSelection
|
LegendItemListAdapter(IntPtr, JniHandleOwnership)
Declaration
protected LegendItemListAdapter(IntPtr javaReference, JniHandleOwnership transfer)
Parameters
System.IntPtr
javaReference
|
Android.Runtime.JniHandleOwnership
transfer
|
Properties
ItemCount
Declaration
public override int ItemCount { get; }
Property Value
System.Int32
|
JniPeerMembers
Declaration
public override JniPeerMembers JniPeerMembers { get; }
Property Value
Java.Interop.JniPeerMembers
|
ThresholdClass
Declaration
protected override IntPtr ThresholdClass { get; }
Property Value
System.IntPtr
|
ThresholdType
Declaration
protected override Type ThresholdType { get; }
Property Value
System.Type
|
Methods
GetItem(Int32)
Declaration
public virtual LegendItem GetItem(int position)
Parameters
System.Int32
position
|
Returns
LegendItem
|
OnBindListViewHolder(LegendItemListAdapter.ViewHolder, Int32)
Declaration
public virtual void OnBindListViewHolder(LegendItemListAdapter.ViewHolder holder, int position)
Parameters
LegendItemListAdapter.ViewHolder
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
|
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
|