[android] Remove SvgViewShadowNode

This commit is contained in:
Mikael Sand
2018-10-15 02:27:59 +03:00
parent 585e34bea9
commit e9e2454b06
@@ -1,41 +0,0 @@
/*
* Copyright (c) 2015-present, Horcrux.
* All rights reserved.
*
* This source code is licensed under the MIT-style license found in the
* LICENSE file in the root directory of this source tree.
*/
package com.horcrux.svg;
import com.facebook.react.uimanager.LayoutShadowNode;
import com.facebook.react.uimanager.UIViewOperationQueue;
/**
* Shadow node for RNSVG virtual tree root - RNSVGSvgView
*/
public class SvgViewShadowNode extends LayoutShadowNode {
@Override
public boolean isVirtual() {
return false;
}
@Override
public boolean isVirtualAnchor() {
return false;
}
@Override
public void onCollectExtraUpdates(UIViewOperationQueue uiUpdater) {
super.onCollectExtraUpdates(uiUpdater);
uiUpdater.enqueueUpdateExtraData(getReactTag(), null);
}
@Override
public void setReactTag(int reactTag) {
super.setReactTag(reactTag);
SvgViewManager.setShadowNode(this);
}
}