List of usage examples for com.facebook.react ReactPackage interface-usage
From source file com.demoapp.DemoAppNativePackage.java
public class DemoAppNativePackage implements ReactPackage { private final NativeModule mModule; DemoAppNativePackage(Context context) { mModule = new DemoAppNativeModule(context);
From source file com.doozy.shell.DoozyReactPackage.java
/** * Package defining basic modules and view managers. */ public class DoozyReactPackage implements ReactPackage { @Override
From source file com.example.ExampleAppPackage.java
public class ExampleAppPackage implements ReactPackage { @Override public List<Class<? extends JavaScriptModule>> createJSModules() { return Collections.emptyList(); }
From source file com.farmisen.react_native_file_uploader.RCTFileUploaderPackage.java
/** * Created by farmisen on 1/11/16. */ public class RCTFileUploaderPackage implements ReactPackage { @Override public List<NativeModule> createNativeModules(ReactApplicationContext reactApplicationContext) {
From source file com.geniem.rnble.RNBLEPackage.java
public class RNBLEPackage implements ReactPackage { /** * @param reactContext react application context that can be used to create modules * @return list of native modules to register with the newly created catalyst instance */ @Override
From source file com.helloworld.MyReactPackage.java
public class MyReactPackage implements ReactPackage { @Override public List<NativeModule> createNativeModules(ReactApplicationContext reactContext) { return Collections.emptyList(); }
From source file com.horcrux.svg.RNSvgPackage.java
public class RNSvgPackage implements ReactPackage { @Override public List<ViewManager> createViewManagers(ReactApplicationContext reactContext) { return Arrays.<ViewManager>asList(RNSVGRenderableViewManager.createRNSVGGroupViewManager(), RNSVGRenderableViewManager.createRNSVGPathViewManager(),
From source file com.horcrux.svg.SvgPackage.java
public class SvgPackage implements ReactPackage { @Override public List<ViewManager> createViewManagers(ReactApplicationContext reactContext) { return Arrays.<ViewManager>asList(RenderableViewManager.createGroupViewManager(), RenderableViewManager.createPathViewManager(), RenderableViewManager.createCircleViewManager(),
From source file com.idehub.Billing.InAppBillingBridgePackage.java
public class InAppBillingBridgePackage implements ReactPackage { public InAppBillingBridgePackage(String licenseKey, Activity activity) { _licenseKey = licenseKey; _licenseKeySetInConstructor = true; _activity = activity;
From source file com.idehub.IabTest.InAppBillingBridgePackage.java
public class InAppBillingBridgePackage implements ReactPackage { public InAppBillingBridgePackage(String licenseKey, String merchantId, Activity activity) { _licenseKey = licenseKey; _merchantId = merchantId; _activity = activity;