public static interface QuickSearch.Callback
Modifier and Type | Method and Description |
---|---|
String |
findMaxPrefix(String prefix)
Find the maximum prefix among the search results, that starts with the provided string.
|
void |
quickSearchCanceled()
Called when the quick search is canceled by the user.
|
void |
quickSearchConfirmed()
Called when the quick search is confirmed by the user.
|
void |
quickSearchUpdate(String searchText)
Called with an updated search text.
|
void |
showNextSelection(boolean forward)
Called to select a next occurrence of the search result.
|
void quickSearchUpdate(String searchText)
This method is called to initiate and update the search process.
searchText
- The new text to search for.void showNextSelection(boolean forward)
forward
- The direction of the next search result.
true
for forward direction,
false
for backward direction.String findMaxPrefix(String prefix)
QuickSearch.findMaxPrefix(java.lang.String, java.lang.String, boolean)
can be used by the implementation.prefix
- The prefix to start withvoid quickSearchConfirmed()
void quickSearchCanceled()