public interface SearchCallback
Modifier and Type | Method and Description |
---|---|
void |
onError(SearchException exception)
Called when an error occurs during the search operation.
|
void |
onSuccess(ItemList<FullviewItem> itemList,
boolean isOffline)
Called when the search completes successfully.
|
void onError(SearchException exception)
exception
- A search exception that includes the root cause of the problem.void onSuccess(ItemList<FullviewItem> itemList, boolean isOffline)
ItemList
object.itemList
- ItemList
- the result list with each list item is of the type FullviewItem
.isOffline
- false if the latest data could be retrieved from the server, true if search is offline.