public interface ReactInstanceManagerDevHelper
DevSupportManager
for accessing some fields and methods of ReactInstanceManager
for the purpose of displaying and handling developer menu options.Modifier and Type | Method and Description |
---|---|
android.view.View |
createRootView(java.lang.String appKey) |
void |
destroyRootView(android.view.View rootView) |
android.app.Activity |
getCurrentActivity()
Get reference to top level #{link Activity} attached to react context
|
JavaScriptExecutorFactory |
getJavaScriptExecutorFactory() |
void |
onJSBundleLoadedFromServer()
Notify react instance manager about new JS bundle version downloaded from the server.
|
void |
onReloadWithJSDebugger(JavaJSExecutor.Factory proxyExecutorFactory)
Request react instance recreation with JS debugging enabled.
|
void |
toggleElementInspector()
Request to toggle the react element inspector.
|
void onReloadWithJSDebugger(JavaJSExecutor.Factory proxyExecutorFactory)
void onJSBundleLoadedFromServer()
void toggleElementInspector()
android.app.Activity getCurrentActivity()
JavaScriptExecutorFactory getJavaScriptExecutorFactory()
android.view.View createRootView(java.lang.String appKey)
void destroyRootView(android.view.View rootView)