Package com.zendesk.sdk.network
Interface RequestLoadingListener
-
public interface RequestLoadingListener
This interface allows you to subscribe to the events that occur in the lifecycle of displaying the list ofRequest
in theRequestListFragment
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description void
onLoadError(ErrorResponse errorResponse)
Called when the loading of requests has completed with errorsvoid
onLoadFinished(int requestCount)
Called when the loading of requests has completed successfullyvoid
onLoadStarted()
Called when the loading of requests has begun
-
-
-
Method Detail
-
onLoadStarted
void onLoadStarted()
Called when the loading of requests has begun
-
onLoadFinished
void onLoadFinished(int requestCount)
Called when the loading of requests has completed successfully- Parameters:
requestCount
- The number of requests that were loaded
-
onLoadError
void onLoadError(ErrorResponse errorResponse)
Called when the loading of requests has completed with errors- Parameters:
errorResponse
- The details of the error that occurred
-
-