File tree Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -9,12 +9,13 @@ easy to integrate with Animated.Event and FlatList out the box.
9
9
10
10
## Getting started
11
11
12
+ Make sure to install both ` react-native-collapsing-toolbar ` and ` react-native-nested-scroll-view ` .
13
+
14
+ ` $ npm install react-native-nested-scroll-view --save `
12
15
` $ npm install react-native-collapsing-toolbar --save `
13
16
14
17
### Installation
15
18
16
- Make sure to add both ` react-native-collapsing-toolbar ` and ` react-native-nested-scroll-view `
17
-
18
19
MainActivity.java
19
20
20
21
``` diff
@@ -80,9 +81,10 @@ import {
80
81
CoordinatorLayout ,
81
82
CollapsingToolbarLayout ,
82
83
CollapsingParallax ,
83
- NestedScrollView ,
84
84
} from ' react-native-collapsing-toolbar'
85
85
86
+ import NestedScrollView from ' react-native-nested-scroll-view'
87
+
86
88
87
89
render () {
88
90
const HEADER_HEIGHT = 300
Original file line number Diff line number Diff line change 1
- import NestedScrollView from 'react-native-nested-scroll-view'
2
1
import AppBarLayout from './lib/AppBarLayout'
3
2
import CoordinatorLayout from './lib/CoordinatorLayout'
4
3
import CollapsingToolbarLayout from './lib/CollapsingToolbarLayout'
9
8
CoordinatorLayout ,
10
9
CollapsingParallax ,
11
10
CollapsingToolbarLayout ,
12
- NestedScrollView ,
13
11
} ;
Original file line number Diff line number Diff line change 13
13
" coordinatorLayout"
14
14
],
15
15
"dependencies" : {
16
- "prop-types" : " ^15.5.10" ,
17
- "react-native-nested-scroll-view" : " 4.0.0"
16
+ "prop-types" : " ^15.5.10"
18
17
},
19
18
"repository" : {
20
19
"type" : " git" ,
You can’t perform that action at this time.
0 commit comments