{"repo":"callstack/react-native-pager-view","free":true,"listed":false,"github":"https://github.com/callstack/react-native-pager-view","clone":"git clone https://github.com/callstack/react-native-pager-view.git","description":"React Native wrapper for the Android ViewPager and iOS UIPageViewController.","language":"TypeScript","stars":3349,"topics":["hacktoberfest","react-native","ios","android"],"license":"MIT","category":"mobile-apps","readme_excerpt":"react-native-pager-view This component allows the user to swipe left and right through pages of data. Under the hood it is using the native Android ViewPager and the iOS UIPageViewController implementations. See it in action! Migration [!WARNING] From version 7.x only new architecture is supported. In version 6.x support for transitionStyle property has been dropped. More information here. \"@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 Getting started Bun: bun add react-native-pager-view Yarn: yarn add react-native-pager-view Linking = 0.60 Autolinking will just do the job. Manually link the library on iOS Follow the instructions in the React Native documentation to manually link the framework or link using Cocoapods by adding this to your Podfile : Manually link the library on Android Make the following changes: android/settings.gradle android/app/build.gradle android/app/src/main/.../MainApplication.java On top, where imports are: Add import com.reactnativepagerview.PagerViewPackage; Add the PagerViewPackage class to your list of exported packages. Usage Attention: Note that you can only use View components as children of PagerView (cf. folder /example ) . For Android if View has own children, set prop collapsable to false , otherwise react-native might remove those children views and its children will be rendered as separate pages Advanced usage Fo","default_branch":null,"files":null,"tree":[],"storefront":"/r/callstack","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/callstack/react-native-pager-view/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}