Add support for custom AndroidViews
Reviewed By: ahmedre Differential Revision: D2751716 fb-gh-sync-id: 3007cc1eb0303bb2e9eab84836b486e1c2e21021
This commit is contained in:
parent
edc318fcb9
commit
1fabd86048
|
@ -256,7 +256,7 @@ public class ReactShadowNode extends CSSNode {
|
|||
return Assertions.assertNotNull(mThemedContext);
|
||||
}
|
||||
|
||||
protected void setThemedContext(ThemedReactContext themedContext) {
|
||||
public void setThemedContext(ThemedReactContext themedContext) {
|
||||
mThemedContext = themedContext;
|
||||
}
|
||||
|
||||
|
|
|
@ -75,6 +75,10 @@ public class UIImplementation {
|
|||
return mShadowNodeRegistry.getNode(reactTag);
|
||||
}
|
||||
|
||||
protected final ViewManager resolveViewManager(String className) {
|
||||
return mViewManagers.get(className);
|
||||
}
|
||||
|
||||
/**
|
||||
* Registers a root node with a given tag, size and ThemedReactContext
|
||||
* and adds it to a node registry.
|
||||
|
|
|
@ -48,7 +48,7 @@ public class ReactTextInputShadowNode extends ReactTextShadowNode implements
|
|||
}
|
||||
|
||||
@Override
|
||||
protected void setThemedContext(ThemedReactContext themedContext) {
|
||||
public void setThemedContext(ThemedReactContext themedContext) {
|
||||
super.setThemedContext(themedContext);
|
||||
|
||||
// TODO #7120264: cache this stuff better
|
||||
|
|
Loading…
Reference in New Issue