Permalink
Browse files

Expose ReactInstanceManager from ReactRootView

Reviewed By: AaaChiuuu

Differential Revision: D6051991

fbshipit-source-id: f175fc273895d7e9fedec73428d61395ae00649f
  • Loading branch information...
ayc1 authored and facebook-github-bot committed Oct 17, 2017
1 parent 60c898d commit dc16150bae19683a5e8338faa7e004b83a9cdb3c
Showing with 5 additions and 0 deletions.
  1. +5 −0 ReactAndroid/src/main/java/com/facebook/react/ReactRootView.java
@@ -468,6 +468,11 @@ public void setRootViewTag(int rootViewTag) {
mRootViewTag = rootViewTag;
}
@Nullable
public ReactInstanceManager getReactInstanceManager() {
return mReactInstanceManager;
}
private class CustomGlobalLayoutListener implements ViewTreeObserver.OnGlobalLayoutListener {
private final Rect mVisibleViewArea;
private final int mMinKeyboardHeightDetected;

0 comments on commit dc16150

Please sign in to comment.