com.swmansion.gesturehandler.react.RNGestureHandlerEnabledRootView Java Examples

The following examples show how to use com.swmansion.gesturehandler.react.RNGestureHandlerEnabledRootView. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: MainActivity.java    From dingo with GNU General Public License v3.0 5 votes vote down vote up
@Override
protected ReactActivityDelegate createReactActivityDelegate() {
    return new ReactActivityDelegate(this, getMainComponentName()) {
        @Override
        protected ReactRootView createRootView() {
            return new RNGestureHandlerEnabledRootView(MainActivity.this);
        }
    };
}
 
Example #2
Source File: MainActivity.java    From react-native-image-filter-kit with MIT License 5 votes vote down vote up
@Override
protected ReactActivityDelegate createReactActivityDelegate() {
  return new ReactActivityDelegate(this, getMainComponentName()) {
    @Override
    protected ReactRootView createRootView() {
     return new RNGestureHandlerEnabledRootView(MainActivity.this);
    }
  };
}
 
Example #3
Source File: MainActivity.java    From react-native-callkeep with ISC License 5 votes vote down vote up
@Override
protected ReactActivityDelegate createReactActivityDelegate() {
    return new ReactActivityDelegate(this, getMainComponentName()) {
        @Override
        protected ReactRootView createRootView() {
            return new RNGestureHandlerEnabledRootView(MainActivity.this);
        }
    };
}
 
Example #4
Source File: MainActivity.java    From react-native-screens with MIT License 5 votes vote down vote up
@Override
protected ReactActivityDelegate createReactActivityDelegate() {
  return new ReactActivityDelegate(this, getMainComponentName()) {
    @Override
    protected ReactRootView createRootView() {
      return new RNGestureHandlerEnabledRootView(MainActivity.this);
    }
  };
}
 
Example #5
Source File: MainActivity.java    From react-native-tesseract-ocr with MIT License 5 votes vote down vote up
@Override
protected ReactActivityDelegate createReactActivityDelegate() {
    return new ReactActivityDelegate(this, getMainComponentName()) {
        @Override
        protected ReactRootView createRootView() {
            return new RNGestureHandlerEnabledRootView(MainActivity.this);
        }
    };
}