Skip to content

Latest commit

 

History

History
119 lines (69 loc) · 3.39 KB

README.md

File metadata and controls

119 lines (69 loc) · 3.39 KB

react-native-largelist

React-native-largelist is a very high performance large list component for React-Native. (iOS & Android) Now V3 is available. V1 is here

Features

  • Large data source list component, items reused by group, Less CPU/Memory usage. Never blanks.
  • Fully Cross-platform bounces (iOS & Android).
  • Highly customize Refreshing and Loading. Fully support react-native-lottie. More smoothly animation.

Preview

Preview Preview WaterfallExample PictureExample

Installation

yarn add react-native-spring-scrollview react-native-largelist-v3
react-native link react-native-spring-scrollview

Documentation

API reference and more: Documentation Reference

Running Examples

  1. Git clone from github
git clone [email protected]:bolan9999/react-native-largelist.git
  1. Install dependence and start.
yarn install
yarn start
  1. Modify iOS bundle source location in AppDelegate.m

  2. Change Android bundle source location in "Dev Setting"

  3. If you build it in XCode and get this error:

'React/RCTBridgeModule.h' file not found

      you can resolve it by this topic

  1. Running

LargeList

All the features below are supported on both iOS and Android.

Items reused. Never blank.
Sticky section support

      StickySection

Fully Cross-platform bounces (iOS & Android).

      bounces

Customize refreshing (Support lottie-react-native progress with useNativeDriver)

      CustomizeRefreshing

Customize loading (Support lottie-react-native progress with useNativeDriver)

      CustomizeLoading

Slide on both horizontal and vertical directions.

      BothDirections

Sticky header support.

      StickyHeader

directionalLockEnabled

      directionalLockEnabled

Support inverted

      inverted

Drag to scale header background: renderScaleHeaderBackground

      renderScaleHeaderBackground

WaterfallList

Complex situation

      WaterfallExample

preferColumnWidth

      preferColumnWidth

numColumns

      numColumns

StickyForm

example

      StickyFormExample

License

react-native-largelist is released under the MIT license. See LICENSE for details.