File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -238,7 +238,7 @@ PODS:
238
238
- React-jsinspector (0.63.4)
239
239
- react-native-safe-area-context (3.1.9):
240
240
- React-Core
241
- - react-native-viewpager (4.2.2 ):
241
+ - react-native-viewpager (4.2.3 ):
242
242
- React-Core
243
243
- React-RCTActionSheet (0.63.4):
244
244
- React-Core/RCTActionSheetHeaders (= 0.63.4)
@@ -476,7 +476,7 @@ SPEC CHECKSUMS:
476
476
React-jsiexecutor: 93bd528844ad21dc07aab1c67cb10abae6df6949
477
477
React-jsinspector: 58aef7155bc9a9683f5b60b35eccea8722a4f53a
478
478
react-native-safe-area-context: b6e0e284002381d2ff29fa4fff42b4d8282e3c94
479
- react-native-viewpager: ea945e2881ce9a4a8bcdc84de4ec65ff23c90f6e
479
+ react-native-viewpager: 936c67cba6e9ca19793d04321427a44cb8e43395
480
480
React-RCTActionSheet: 89a0ca9f4a06c1f93c26067af074ccdce0f40336
481
481
React-RCTAnimation: 1bde3ecc0c104c55df246eda516e0deb03c4e49b
482
482
React-RCTBlob: a97d378b527740cc667e03ebfa183a75231ab0f0
Original file line number Diff line number Diff line change @@ -87,4 +87,11 @@ export interface ViewPagerProps {
87
87
* Android only
88
88
*/
89
89
overScrollMode ?: OverScrollMode ;
90
+ /**
91
+ * Android only
92
+ * Set the number of pages that should be retained to either side of the
93
+ * current page in the view hierarchy in an idle state. Pages beyond this
94
+ * limit will be recreated from the adapter when needed.
95
+ */
96
+ offscreenPageLimit ?: number ;
90
97
}
You can’t perform that action at this time.
0 commit comments