-
- All Implemented Interfaces:
-
android.graphics.drawable.Drawable.Callback
,com.facebook.drawee.controller.ControllerListener
,com.facebook.drawee.drawable.DrawableParent
,com.facebook.drawee.drawable.TransformAwareDrawable
,com.facebook.drawee.drawable.TransformCallback
public class ReactImageDownloadListener<INFO> extends ForwardingDrawable implements ControllerListener<INFO>
-
-
Constructor Summary
Constructors Constructor Description ReactImageDownloadListener()
-
Method Summary
Modifier and Type Method Description void
onProgressChange(int loaded, int total)
void
onSubmit(String id, Object callerContext)
void
onFinalImageSet(String id, @Nullable() INFO imageInfo, @Nullable() Animatable animatable)
void
onIntermediateImageSet(String id, @Nullable() INFO imageInfo)
void
onIntermediateImageFailed(String id, Throwable throwable)
void
onFailure(String id, Throwable throwable)
void
onRelease(String id)
-
Methods inherited from class com.facebook.drawee.drawable.ForwardingDrawable
draw, getConstantState, getCurrent, getDrawable, getIntrinsicHeight, getIntrinsicWidth, getOpacity, getPadding, getRootBounds, getTransform, getTransformedBounds, invalidateDrawable, isStateful, mutate, scheduleDrawable, setAlpha, setColorFilter, setCurrent, setDither, setDrawable, setFilterBitmap, setHotspot, setTransformCallback, setVisible, unscheduleDrawable
-
Methods inherited from class android.graphics.drawable.Drawable
applyTheme, canApplyTheme, clearColorFilter, copyBounds, copyBounds, createFromPath, createFromResourceStream, createFromStream, createFromXml, createFromXmlInner, getAlpha, getBounds, getCallback, getChangingConfigurations, getColorFilter, getDirtyBounds, getHotspotBounds, getLayoutDirection, getLevel, getMinimumHeight, getMinimumWidth, getOpticalInsets, getOutline, getState, getTransparentRegion, hasFocusStateSpecified, inflate, invalidateSelf, isAutoMirrored, isFilterBitmap, isProjected, isVisible, jumpToCurrentState, onLayoutDirectionChanged, resolveOpacity, scheduleSelf, setAutoMirrored, setBounds, setCallback, setChangingConfigurations, setHotspotBounds, setLayoutDirection, setLevel, setState, setTint, setTintBlendMode, setTintList, setTintMode, unscheduleSelf
-
Methods inherited from class com.facebook.drawee.controller.ControllerListener
onFailure, onFinalImageSet, onIntermediateImageFailed, onIntermediateImageSet, onRelease, onSubmit
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
onProgressChange
void onProgressChange(int loaded, int total)
-
onFinalImageSet
void onFinalImageSet(String id, @Nullable() INFO imageInfo, @Nullable() Animatable animatable)
-
onIntermediateImageSet
void onIntermediateImageSet(String id, @Nullable() INFO imageInfo)
-
onIntermediateImageFailed
void onIntermediateImageFailed(String id, Throwable throwable)
-
-
-
-