private void onReloadWithJSDebugger(JavaJSExecutor.Factory jsExecutorFactory) { recreateReactContextInBackground( new ProxyJavaScriptExecutor.Factory(jsExecutorFactory), JSBundleLoader.createRemoteDebuggerBundleLoader( mDevSupportManager.getJSBundleURLForRemoteDebugging(), mDevSupportManager.getSourceUrl())); }
@Override public void onReloadWithJSDebugger(JavaJSExecutor.Factory jsExecutorFactory) { ReactInstanceManager.this.onReloadWithJSDebugger(jsExecutorFactory); }
public Factory(JavaJSExecutor.Factory javaJSExecutorFactory) { mJavaJSExecutorFactory = javaJSExecutorFactory; }
@Override public void onReloadWithJSDebugger(JavaJSExecutor.Factory jsExecutorFactory) { ReactInstanceManagerImpl.this.onReloadWithJSDebugger(jsExecutorFactory); }
@Override public void onReloadWithJSDebugger(JavaJSExecutor.Factory jsExecutorFactory) { XReactInstanceManagerImpl.this.onReloadWithJSDebugger(jsExecutorFactory); }
@Override public void onReloadWithJSDebugger(JavaJSExecutor.Factory proxyExecutorFactory) { listener.onJsDevReload(); originalReactHandler.onReloadWithJSDebugger(proxyExecutorFactory); }
/** * Request react instance recreation with JS debugging enabled. */ void onReloadWithJSDebugger(JavaJSExecutor.Factory proxyExecutorFactory);
/** * Create {@link ProxyJavaScriptExecutor} instance * @param executor implementation of {@link JavaJSExecutor} which will be responsible for handling * javascript calls */ public ProxyJavaScriptExecutor(JavaJSExecutor executor) { super(initHybrid(executor)); mJavaJSExecutor = executor; }
private native static HybridData initHybrid(JavaJSExecutor executor);