GithubHelp home page GithubHelp logo

hhy5277 / react-native-largelist Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bolan9999/react-native-largelist

0.0 1.0 0.0 36.55 MB

The best large list component for React Native.

Home Page: https://bolan9999.github.io/react-native-largelist/

License: MIT License

JavaScript 82.17% Python 4.32% Java 4.87% Objective-C 8.64%

react-native-largelist's Introduction

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.

react-native-largelist's People

Contributors

atshitou avatar bolan9999 avatar damikdk avatar dekpient avatar kohkimakimoto avatar lyair1 avatar matt-oakes avatar rcorrie avatar scyllarfu avatar siranthony avatar stonebreken avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.