Interface ISearchLocation<T>
public interface ISearchLocation<T>
-
Method Summary
Modifier and TypeMethodDescriptionvoidonComplete(T response) Called when the search for location is successfully donevoidonError(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
Called when the search for location is successfully done- Parameters:
response- The response object
-