mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-02 22:41:18 +08:00
Expose ReactInstanceManager from ReactRootView
Reviewed By: AaaChiuuu Differential Revision: D6051991 fbshipit-source-id: f175fc273895d7e9fedec73428d61395ae00649f
This commit is contained in:
committed by
Facebook Github Bot
parent
60c898d864
commit
dc16150bae
@@ -468,6 +468,11 @@ public class ReactRootView extends SizeMonitoringFrameLayout
|
||||
mRootViewTag = rootViewTag;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
public ReactInstanceManager getReactInstanceManager() {
|
||||
return mReactInstanceManager;
|
||||
}
|
||||
|
||||
private class CustomGlobalLayoutListener implements ViewTreeObserver.OnGlobalLayoutListener {
|
||||
private final Rect mVisibleViewArea;
|
||||
private final int mMinKeyboardHeightDetected;
|
||||
|
||||
Reference in New Issue
Block a user