Skip to content

mikeevstropov/react-native-nested-scroll-view

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

react-native wrapper for android NestedScrollView

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 53.0%
  • Java 47.0%