Skip to content

Commit

Permalink
Support fade for remote images in React with nodes.
Browse files Browse the repository at this point in the history
Reviewed By: dkoroskin

Differential Revision: D2804997

fb-gh-sync-id: e143fc16c07856e56182cba6d0eb2884a95c7318
  • Loading branch information
Ahmed El-Helw authored and facebook-github-bot-5 committed Jan 29, 2016
1 parent 181896e commit 203fdca
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,20 @@
import android.graphics.RectF;
import android.graphics.Shader;
import android.graphics.drawable.Animatable;
import android.graphics.drawable.Drawable;
import android.net.Uri;
import android.os.SystemClock;

import com.facebook.common.util.UriUtil;
import com.facebook.drawee.controller.AbstractDraweeControllerBuilder;
import com.facebook.drawee.drawable.AutoRotateDrawable;
import com.facebook.drawee.controller.BaseControllerListener;
import com.facebook.drawee.controller.ControllerListener;
import com.facebook.drawee.controller.ForwardingControllerListener;
import com.facebook.drawee.drawable.AutoRotateDrawable;
import com.facebook.drawee.drawable.ScalingUtils;
import com.facebook.drawee.generic.GenericDraweeHierarchy;
import com.facebook.drawee.generic.GenericDraweeHierarchyBuilder;
import com.facebook.drawee.generic.RoundingParams;
import com.facebook.drawee.interfaces.DraweeController;
import com.facebook.drawee.view.GenericDraweeView;
import com.facebook.imagepipeline.common.ResizeOptions;
import com.facebook.imagepipeline.image.ImageInfo;
Expand All @@ -55,7 +55,7 @@
*/
public class ReactImageView extends GenericDraweeView {

private static final int REMOTE_IMAGE_FADE_DURATION_MS = 300;
public static final int REMOTE_IMAGE_FADE_DURATION_MS = 300;

/*
* Implementation note re rounded corners:
Expand Down

0 comments on commit 203fdca

Please sign in to comment.