public class

RetryManager

extends Object
java.lang.Object
   ↳ com.facebook.drawee.components.RetryManager

Class Overview

Manages retries for an image.

Summary

Public Constructors
RetryManager()
Public Methods
void init()
Initializes component to its initial state.
boolean isTapToRetryEnabled()
static RetryManager newInstance()
void notifyTapToRetry()
void reset()
Resets component.
void setMaxTapToRetryAttemps(int maxTapToRetryAttemps)
void setTapToRetryEnabled(boolean tapToRetryEnabled)
boolean shouldRetryOnTap()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public RetryManager ()

Public Methods

public void init ()

Initializes component to its initial state.

public boolean isTapToRetryEnabled ()

public static RetryManager newInstance ()

public void notifyTapToRetry ()

public void reset ()

Resets component. This will reset the number of attempts.

public void setMaxTapToRetryAttemps (int maxTapToRetryAttemps)

public void setTapToRetryEnabled (boolean tapToRetryEnabled)

public boolean shouldRetryOnTap ()