本文整理汇总了Java中com.facebook.react.bridge.JavaJSExecutor类的典型用法代码示例。如果您正苦于以下问题:Java JavaJSExecutor类的具体用法?Java JavaJSExecutor怎么用?Java JavaJSExecutor使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
JavaJSExecutor类属于com.facebook.react.bridge包,在下文中一共展示了JavaJSExecutor类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: onReloadWithJSDebugger
import com.facebook.react.bridge.JavaJSExecutor; //导入依赖的package包/类
private void onReloadWithJSDebugger(JavaJSExecutor.Factory jsExecutorFactory) {
recreateReactContextInBackground(
new ProxyJavaScriptExecutor.Factory(jsExecutorFactory),
JSBundleLoader.createRemoteDebuggerBundleLoader(
mDevSupportManager.getJSBundleURLForRemoteDebugging(),
mDevSupportManager.getSourceUrl()));
}
示例2: Factory
import com.facebook.react.bridge.JavaJSExecutor; //导入依赖的package包/类
public Factory(JavaJSExecutor.Factory javaJSExecutorFactory) {
mJavaJSExecutorFactory = javaJSExecutorFactory;
}
示例3: onReloadWithJSDebugger
import com.facebook.react.bridge.JavaJSExecutor; //导入依赖的package包/类
@Override
public void onReloadWithJSDebugger(JavaJSExecutor.Factory proxyExecutorFactory) {
listener.onJsDevReload();
originalReactHandler.onReloadWithJSDebugger(proxyExecutorFactory);
}
示例4: onReloadWithJSDebugger
import com.facebook.react.bridge.JavaJSExecutor; //导入依赖的package包/类
/**
* Request react instance recreation with JS debugging enabled.
*/
void onReloadWithJSDebugger(JavaJSExecutor.Factory proxyExecutorFactory);
示例5: ProxyJavaScriptExecutor
import com.facebook.react.bridge.JavaJSExecutor; //导入依赖的package包/类
/**
* 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;
}
示例6: initHybrid
import com.facebook.react.bridge.JavaJSExecutor; //导入依赖的package包/类
private native static HybridData initHybrid(JavaJSExecutor executor);