public class

RedactionSearchResultsAdapter

extends SearchResultsAdapter
java.lang.Object
   ↳
     ↳ com.pdftron.pdf.controls.SearchResultsAdapter
       ↳ com.pdftron.pdf.widget.redaction.RedactionSearchResultsAdapter

Summary

Public Constructors
RedactionSearchResultsAdapter(Context context, int resource, ArrayList<TextSearchResult> objects, ArrayList<String> titles)
Class constructor
Public Methods
void addSelected(int position)
void deselectAll()
HashSet<Integer> getSelected()
boolean isAllSelected()
boolean isSelected(int position)
void onBindViewHolder(RecyclerView.ViewHolder vh, int position)
SearchResultsAdapter.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType)
void removeSelected(int position)
void selectAll()
[Expand]
Inherited Methods
From class com.pdftron.pdf.controls.SearchResultsAdapter
From class java.lang.Object

Public Constructors

public RedactionSearchResultsAdapter (Context context, int resource, ArrayList<TextSearchResult> objects, ArrayList<String> titles)

Class constructor

Parameters
context The context
resource The resource ID for a layout file containing a TextView to use when instantiating views.
objects The objects to represent in the ListView.
titles The section titles

Public Methods

public void addSelected (int position)

public void deselectAll ()

public HashSet<Integer> getSelected ()

public boolean isAllSelected ()

public boolean isSelected (int position)

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

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

public void removeSelected (int position)

public void selectAll ()