public class ReactImageView
extends GenericDraweeView
| Modifier and Type | Field and Description |
|---|---|
static int |
REMOTE_IMAGE_FADE_DURATION_MS |
| Constructor and Description |
|---|
ReactImageView(android.content.Context context,
AbstractDraweeControllerBuilder draweeControllerBuilder,
java.lang.Object callerContext) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasOverlappingRendering()
ReactImageViews only render a single image.
|
void |
maybeUpdateView() |
protected void |
onSizeChanged(int w,
int h,
int oldw,
int oldh) |
void |
setBorderColor(int borderColor) |
void |
setBorderRadius(float borderRadius) |
void |
setBorderRadius(float borderRadius,
int position) |
void |
setBorderWidth(float borderWidth) |
void |
setControllerListener(ControllerListener controllerListener) |
void |
setFadeDuration(int durationMs) |
void |
setLoadingIndicatorSource(java.lang.String name,
com.facebook.react.views.image.ResourceDrawableIdHelper resourceDrawableIdHelper) |
void |
setOverlayColor(int overlayColor) |
void |
setProgressiveRenderingEnabled(boolean enabled) |
void |
setScaleType(ScalingUtils.ScaleType scaleType) |
void |
setShouldNotifyLoadEvents(boolean shouldNotify) |
void |
setSource(java.lang.String source,
com.facebook.react.views.image.ResourceDrawableIdHelper resourceDrawableIdHelper) |
public static final int REMOTE_IMAGE_FADE_DURATION_MS
public ReactImageView(android.content.Context context,
AbstractDraweeControllerBuilder draweeControllerBuilder,
@Nullable
java.lang.Object callerContext)
public void setShouldNotifyLoadEvents(boolean shouldNotify)
public void setBorderColor(int borderColor)
public void setOverlayColor(int overlayColor)
public void setBorderWidth(float borderWidth)
public void setBorderRadius(float borderRadius)
public void setBorderRadius(float borderRadius,
int position)
public void setScaleType(ScalingUtils.ScaleType scaleType)
public void setSource(@Nullable
java.lang.String source,
com.facebook.react.views.image.ResourceDrawableIdHelper resourceDrawableIdHelper)
public void setLoadingIndicatorSource(@Nullable
java.lang.String name,
com.facebook.react.views.image.ResourceDrawableIdHelper resourceDrawableIdHelper)
public void setProgressiveRenderingEnabled(boolean enabled)
public void setFadeDuration(int durationMs)
public void maybeUpdateView()
public void setControllerListener(ControllerListener controllerListener)
protected void onSizeChanged(int w,
int h,
int oldw,
int oldh)
public boolean hasOverlappingRendering()