public class

MenuEditorAdapter

extends
java.lang.Object
   ↳
     ↳ com.pdftron.pdf.dialog.menueditor.MenuEditorAdapter

Summary

Fields
public static final int VIEW_TYPE_CONTENT
public static final int VIEW_TYPE_HEADER
Public Constructors
MenuEditorAdapter()
MenuEditorAdapter(ArrayList<MenuEditorItem> menuEditorItems)
Public Methods
int getItemCount()
int getItemViewType(int position)
void insert(MenuEditorItem item, int position)
boolean isHeader(int position)
void notifyHeadersChanged()
void onBindViewHolder(RecyclerView.ViewHolder holder, int position)
RecyclerView.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType)
void onItemDismiss(int position)
void onItemDrop(int fromPosition, int toPosition)
boolean onItemMove(int fromPosition, int toPosition)
MenuEditorItem removeAt(int position)
void setData(ArrayList<MenuEditorItem> menuEditorItems)
void setDragging(boolean dragging)
void setViewModel(MenuEditorViewModel viewModel)
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public static final int VIEW_TYPE_CONTENT

public static final int VIEW_TYPE_HEADER

Public Constructors

public MenuEditorAdapter ()

public MenuEditorAdapter (ArrayList<MenuEditorItem> menuEditorItems)

Public Methods

public int getItemCount ()

public int getItemViewType (int position)

public void insert (MenuEditorItem item, int position)

public boolean isHeader (int position)

public void notifyHeadersChanged ()

public void onBindViewHolder (RecyclerView.ViewHolder holder, int position)

public RecyclerView.ViewHolder onCreateViewHolder (ViewGroup parent, int viewType)

public void onItemDismiss (int position)

public void onItemDrop (int fromPosition, int toPosition)

public boolean onItemMove (int fromPosition, int toPosition)

public MenuEditorItem removeAt (int position)

public void setData (ArrayList<MenuEditorItem> menuEditorItems)

public void setDragging (boolean dragging)

public void setViewModel (MenuEditorViewModel viewModel)