DEV Community

skptricks
skptricks

Posted on

React Native ScrollView Example

Post Link : React Native ScrollView Example

This tutorial explains how to implement scrollview component in react native application. The ScrollView is a generic scrolling container that can host multiple components and views. The scrollable items need not be homogeneous, and you can scroll both vertically and horizontally (by setting the horizontal property). ScrollViews can be configured to allow paging through views using swiping gestures by using a pagingEnabled props. Swiping horizontally between views can also be implemented on Android using the ViewPagerAndroid component.

React Native ScrollView Example

A ScrollView with the single item can be used to allow a user to zoom content. Set up a maximumZoomScale and minimumZoomScale props and the user will be able to use pinch and expand gestures to zoom in and zoom out.

Click here to read more

  1. React Native Horizontal ScrollView Example
  2. React Native Vertical ScrollView Example

Top comments (0)