-
public interface ReactInstanceDevHelper
Interface used by DevSupportManager for accessing some fields and methods of or ReactHost for the purpose of displaying and handling developer menu options.
-
-
Method Summary
Modifier and Type Method Description abstract void
onReloadWithJSDebugger(JavaJSExecutor.Factory proxyExecutorFactory)
Request react instance recreation with JS debugging enabled. abstract void
onJSBundleLoadedFromServer()
Notify react instance manager about new JS bundle version downloaded from the server. abstract void
toggleElementInspector()
Request to toggle the react element inspector. abstract Activity
getCurrentActivity()
Get reference to top level #{link Activity} attached to react context abstract JavaScriptExecutorFactory
getJavaScriptExecutorFactory()
abstract View
createRootView(String appKey)
abstract void
destroyRootView(View rootView)
-
-
Method Detail
-
onReloadWithJSDebugger
abstract void onReloadWithJSDebugger(JavaJSExecutor.Factory proxyExecutorFactory)
Request react instance recreation with JS debugging enabled.
-
onJSBundleLoadedFromServer
abstract void onJSBundleLoadedFromServer()
Notify react instance manager about new JS bundle version downloaded from the server.
-
toggleElementInspector
abstract void toggleElementInspector()
Request to toggle the react element inspector.
-
getCurrentActivity
@Nullable() abstract Activity getCurrentActivity()
Get reference to top level #{link Activity} attached to react context
-
getJavaScriptExecutorFactory
abstract JavaScriptExecutorFactory getJavaScriptExecutorFactory()
-
createRootView
@Nullable() abstract View createRootView(String appKey)
-
destroyRootView
abstract void destroyRootView(View rootView)
-
-
-
-