mirror of
https://github.com/status-im/react-native.git
synced 2025-01-14 03:26:07 +00:00
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;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
public ReactInstanceManager getReactInstanceManager() {
|
||||
return mReactInstanceManager;
|
||||
}
|
||||
|
||||
private class CustomGlobalLayoutListener implements ViewTreeObserver.OnGlobalLayoutListener {
|
||||
private final Rect mVisibleViewArea;
|
||||
private final int mMinKeyboardHeightDetected;
|
||||
|
Loading…
x
Reference in New Issue
Block a user