Expose ReactInstanceManager from ReactRootView
Reviewed By: AaaChiuuu Differential Revision: D6051991 fbshipit-source-id: f175fc273895d7e9fedec73428d61395ae00649f
This commit is contained in:
parent
60c898d864
commit
dc16150bae
|
@ -468,6 +468,11 @@ public class ReactRootView extends SizeMonitoringFrameLayout
|
||||||
mRootViewTag = rootViewTag;
|
mRootViewTag = rootViewTag;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Nullable
|
||||||
|
public ReactInstanceManager getReactInstanceManager() {
|
||||||
|
return mReactInstanceManager;
|
||||||
|
}
|
||||||
|
|
||||||
private class CustomGlobalLayoutListener implements ViewTreeObserver.OnGlobalLayoutListener {
|
private class CustomGlobalLayoutListener implements ViewTreeObserver.OnGlobalLayoutListener {
|
||||||
private final Rect mVisibleViewArea;
|
private final Rect mVisibleViewArea;
|
||||||
private final int mMinKeyboardHeightDetected;
|
private final int mMinKeyboardHeightDetected;
|
||||||
|
|
Loading…
Reference in New Issue