Class ToolbarSwitcherDialog.ToolbarSwitcherAdapter
Inheritance
System.Object
ToolbarSwitcherDialog.ToolbarSwitcherAdapter
Assembly: PDFViewCtrlTools.dll
protected class ToolbarSwitcherAdapter : RecyclerView.Adapter
Constructors
ToolbarSwitcherAdapter(ToolbarSwitcherDialogTheme, ToolbarSwitcherViewModel, ToolbarSwitcherDialog, Context)
Declaration
protected ToolbarSwitcherAdapter(ToolbarSwitcherDialogTheme theme, ToolbarSwitcherViewModel viewModel, ToolbarSwitcherDialog dialog, Context context)
Parameters
Declaration
protected ToolbarSwitcherAdapter(IntPtr javaReference, JniHandleOwnership transfer)
Parameters
Type |
Name |
Description |
System.IntPtr |
javaReference |
|
Android.Runtime.JniHandleOwnership |
transfer |
|
Properties
Declaration
public override int ItemCount { get; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public override JniPeerMembers JniPeerMembers { get; }
Property Value
Type |
Description |
Java.Interop.JniPeerMembers |
|
MContext
Declaration
protected Context MContext { get; set; }
Property Value
Type |
Description |
Android.Content.Context |
|
Declaration
protected ToolbarSwitcherDialog Mdialog { get; set; }
Property Value
Declaration
protected ToolbarSwitcherDialogTheme MTheme { get; set; }
Property Value
Declaration
protected ToolbarSwitcherState MToolbarSwitcherState { get; set; }
Property Value
Declaration
protected ToolbarSwitcherViewModel MViewModel { get; set; }
Property Value
Declaration
protected override IntPtr ThresholdClass { get; }
Property Value
Type |
Description |
System.IntPtr |
|
Declaration
protected override Type ThresholdType { get; }
Property Value
Type |
Description |
System.Type |
|
Methods
Declaration
public override void OnBindViewHolder(RecyclerView.ViewHolder holder, int position)
Parameters
Type |
Name |
Description |
AndroidX.RecyclerView.Widget.RecyclerView.ViewHolder |
holder |
|
System.Int32 |
position |
|
Declaration
public override RecyclerView.ViewHolder OnCreateViewHolder(ViewGroup parent, int viewType)
Parameters
Type |
Name |
Description |
Android.Views.ViewGroup |
parent |
|
System.Int32 |
viewType |
|
Returns
Type |
Description |
AndroidX.RecyclerView.Widget.RecyclerView.ViewHolder |
|
Declaration
public virtual void SetToolbarSwitcherState(ToolbarSwitcherState toolbarSwitcherState)
Parameters