react-native-nested-scroll-view_nghialt
v6.2.2
Published
React Native ScrollView replacement with NestedScrollView
Downloads
21
Maintainers
Readme
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')