| java.lang.Object |
| ↳ |
|
| |
↳ |
com.pdftron.pdf.controls.SearchResultsAdapter |
Known Direct Subclasses
|
Summary
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
boolean
|
equals(Object arg0)
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
final
void
|
wait()
|
|
Public Constructors
public
SearchResultsAdapter
(Context context, int resource, ArrayList<TextSearchResult> objects, ArrayList<String> titles)
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
Parameters
| position |
Position of the item whose data we want within the adapter's
search result set. |
Returns
- The search result at the specified position.
Gets the
TextSearchResult item associated with the specified position in the search result set.
public
int
getItemCount
()
public
void
onBindViewHolder
(RecyclerView.ViewHolder vh, int position)
public
void
setWholeWord
(boolean wholeWord)
Sets whether to use whole world
Parameters
| wholeWord |
true if whole word, false otherwise
|