react-native-nested-scroll-view_nghialt
TypeScript icon, indicating that this package has built-in type declarations

6.2.2 • Public • Published

react-native-nested-scroll-view

This is a fork from the original react native ScrollView and a replacement with NestedScrollView. You should only use this if you are using native components such as CoordinatorLayout.

Libraries Using it.

Tell me where you are using it!

Getting started

$ npm install react-native-nested-scroll-view --save

Automatic installation

$ react-native link react-native-nested-scroll-view

Manual installation

MainActivity.java

+   import com.rnnestedscrollview.RNNestedScrollViewPackage;

    public class MainApplication extends Application implements ReactApplication {

      @Override
      protected List<ReactPackage> getPackages() {
        return Arrays.<ReactPackage>asList(
            new MainReactPackage(),
+           new RNNestedScrollViewPackage()
        );
      }
    }

android/app/build.gradle

    dependencies {
        compile fileTree(dir: "libs", include: ["*.jar"])
        compile "com.android.support:appcompat-v7:23.0.1"
        compile "com.facebook.react:react-native:+"  // From node_modules
+       compile project(':react-native-nested-scroll-view')
    }

android/settings.gradle

include ':app'

+   include ':react-native-nested-scroll-view'
+   project(':react-native-nested-scroll-view').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-nested-scroll-view/android')

License

MIT

Package Sidebar

Install

npm i react-native-nested-scroll-view_nghialt

Weekly Downloads

1

Version

6.2.2

License

MIT

Last publish

Collaborators

  • nghialt