public class


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

Class Overview

Manages retries for an image.


Public Constructors
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()
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 ()