You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-3Lines changed: 8 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,12 @@ This component allows the user to swipe left and right through pages of data. Un
21
21
| iOS | iOS support |
22
22
| ViewPager1 | ViewPager2 |
23
23
24
+
## Next version
25
+
26
+
Lazy page loading has been added to the `next` version. If you would like to test lazy apporach in your app, you can try next version using below command:
27
+
28
+
`yarn add @react-native-community/viewpager@next`
29
+
24
30
## Migration
25
31
26
32
`"@react-native-community/viewpager"` library has been changed to `react-native-pager-view`. Here you can find more information, how to migrate pager view to the latest [version](https://github.com/callstack/react-native-pager-view/blob/master/MIGRATION.md)
For advanced usage please take a look into our [example project](https://github.com/callstack/react-native-pager-view/blob/master/example/src/BasicPagerViewExample.tsx)
133
138
134
139
## API
@@ -161,7 +166,7 @@ See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the
161
166
162
167
## Known Issues
163
168
164
-
-`flex:1` does not work for child views, please use `width:”100%”, height:”100%”`[instead](https://github.com/callstack/react-native-pager-view/issues/186#issuecomment-675320732)
169
+
-`flex:1` does not work for child views, please use `width:”100%”, height:”100%”`[instead](https://github.com/callstack/react-native-pager-view/issues/186#issuecomment-675320732)
165
170
166
171
-[iOS]: In case of `UIViewControllerHierarchyInconsistency` error, please use below fix:
0 commit comments