Fix SurfaceView not redrawing when it should

Summary:
Like its non-Nodes counterpart, FlatARTSurfaceViewShadowNode
should redraw when extra updates are collected.

Reviewed By: sriramramani

Differential Revision: D4355702

fbshipit-source-id: 6e7b90360958481f5bef9b806eca9fa888cb6a32
This commit is contained in:
Ahmed El-Helw 2016-12-20 18:14:22 -08:00 committed by Facebook Github Bot
parent 797506f09f
commit d73746774b
1 changed files with 1 additions and 0 deletions

View File

@ -48,6 +48,7 @@ import com.facebook.react.views.art.ARTVirtualNode;
@Override
public void onCollectExtraUpdates(UIViewOperationQueue uiUpdater) {
super.onCollectExtraUpdates(uiUpdater);
drawOutput();
uiUpdater.enqueueUpdateExtraData(getReactTag(), this);
}