SearchCallback

Version 1.8 - Updated on 01/12/2017

Contents

Introduction

public interface SearchCallback

Search callback - to be implemented to receive search result.

onError

public void onError(SearchException exception)

Called when an error occurs during the search operation.

  • Parameters: exception — A search exception that includes the root cause of the problem.

onSuccess

public void onSuccess(ItemList<FullviewItem> itemList, boolean isOffline)

Called when the search completes successfully. The results of the search are provided to the ItemList object.

  • Parameters:
    • itemListItemList - 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.

Copyright © 2015-2017, Verizon and/or its Licensors. All rights reserved.