Package com.zendesk.sdk.network
Interface Retryable
-
- All Known Implementing Classes:
- ContactZendeskActivity, NetworkAwareActionbarActivity, RequestActivity, ViewArticleActivity, ViewRequestActivity
public interface Retryable
Indicates that a particular UI component is able to retry an operation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description void
onRetryAvailable(java.lang.String message, View.OnClickListener retryAction)
Called when retrying something may be possible.void
onRetryUnavailable()
Called when retrying something will not be possible.
-
-
-
Method Detail
-
onRetryAvailable
void onRetryAvailable(java.lang.String message, View.OnClickListener retryAction)
Called when retrying something may be possible.- Parameters:
message
- A message detailing something about the action that we are going to retryretryAction
- A listener to invoke which will retry the action
-
onRetryUnavailable
void onRetryUnavailable()
Called when retrying something will not be possible.
-
-