Interface ISearchLocation<T>


public interface ISearchLocation<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onComplete(T response)
    Called when the search for location is successfully done
    void
    onError(boolean isNetworkError)
    Called when an error is occurred when trying to search for location
  • Method Details

    • onError

      void onError(boolean isNetworkError)
      Called when an error is occurred when trying to search for location
      Parameters:
      isNetworkError - If it's a Network error
    • onComplete

      void onComplete(@Nullable T response)
      Called when the search for location is successfully done
      Parameters:
      response - The response object