mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-06-04 15:44:24 +00:00
remove commands related code to the bottom
This commit is contained in:
@@ -33,6 +33,26 @@ public class RNSVGSvgViewManager extends BaseViewManager<RNSVGSvgView, RNSVGSvgV
|
|||||||
return REACT_CLASS;
|
return REACT_CLASS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Class<RNSVGSvgViewShadowNode> getShadowNodeClass() {
|
||||||
|
return RNSVGSvgViewShadowNode.class;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public RNSVGSvgViewShadowNode createShadowNodeInstance() {
|
||||||
|
return new RNSVGSvgViewShadowNode();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected RNSVGSvgView createViewInstance(ThemedReactContext reactContext) {
|
||||||
|
return new RNSVGSvgView(reactContext);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void updateExtraData(RNSVGSvgView root, Object extraData) {
|
||||||
|
root.setSurfaceTextureListener((RNSVGSvgViewShadowNode) extraData);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public @Nullable Map<String, Integer> getCommandsMap() {
|
public @Nullable Map<String, Integer> getCommandsMap() {
|
||||||
Map<String, Integer> commandsMap = super.getCommandsMap();
|
Map<String, Integer> commandsMap = super.getCommandsMap();
|
||||||
@@ -65,24 +85,4 @@ public class RNSVGSvgViewManager extends BaseViewManager<RNSVGSvgView, RNSVGSvgV
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public Class<RNSVGSvgViewShadowNode> getShadowNodeClass() {
|
|
||||||
return RNSVGSvgViewShadowNode.class;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public RNSVGSvgViewShadowNode createShadowNodeInstance() {
|
|
||||||
return new RNSVGSvgViewShadowNode();
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
protected RNSVGSvgView createViewInstance(ThemedReactContext reactContext) {
|
|
||||||
return new RNSVGSvgView(reactContext);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void updateExtraData(RNSVGSvgView root, Object extraData) {
|
|
||||||
root.setSurfaceTextureListener((RNSVGSvgViewShadowNode) extraData);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user