public class

AnnotationsAdapter

extends
java.lang.Object
   ↳
     ↳ com.pdftron.pdf.controls.AnnotationsAdapter

Summary

Nested Classes
class AnnotationsAdapter.ViewHolder  
Public Constructors
AnnotationsAdapter(ArrayList<AnnotationDialogFragment.AnnotationInfo> objects, boolean isReadOnly, RecyclerView recyclerView, PDFViewCtrl pdfViewCtrl, NavigationListDialogFragment.AnalyticsEventListener analyticsEventListener)
Public Methods
void addAll(List<AnnotationDialogFragment.AnnotationInfo> annotationInfos)
void clear()
AnnotationDialogFragment.AnnotationInfo getItem(int position)
int getItemCount()
ArrayList<AnnotationDialogFragment.AnnotationInfo> getItems()
ArrayList<AnnotationDialogFragment.AnnotationInfo> getItemsOnPage(int pageNum)
void onBindViewHolder(RecyclerView.ViewHolder holder, int position)
RecyclerView.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType)
boolean remove(AnnotationDialogFragment.AnnotationInfo annotInfo)
void removeAll(List<AnnotationDialogFragment.AnnotationInfo> annotationInfos)
void replaceAll(List<AnnotationDialogFragment.AnnotationInfo> annotationInfos)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public AnnotationsAdapter (ArrayList<AnnotationDialogFragment.AnnotationInfo> objects, boolean isReadOnly, RecyclerView recyclerView, PDFViewCtrl pdfViewCtrl, NavigationListDialogFragment.AnalyticsEventListener analyticsEventListener)

Public Methods

public void addAll (List<AnnotationDialogFragment.AnnotationInfo> annotationInfos)

public void clear ()

public AnnotationDialogFragment.AnnotationInfo getItem (int position)

public int getItemCount ()

public ArrayList<AnnotationDialogFragment.AnnotationInfo> getItems ()

public ArrayList<AnnotationDialogFragment.AnnotationInfo> getItemsOnPage (int pageNum)

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

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

public boolean remove (AnnotationDialogFragment.AnnotationInfo annotInfo)

public void removeAll (List<AnnotationDialogFragment.AnnotationInfo> annotationInfos)

public void replaceAll (List<AnnotationDialogFragment.AnnotationInfo> annotationInfos)