Skip to content

YYListView is a memory-improved implementation of React Native's Listview

License

Notifications You must be signed in to change notification settings

tsyeyuanfeng/react-native-yylistview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

React Native YYListView

YYListView is a memory-improved implementation of the React Native's ListView.

The Problem

YYListView is inspired by SGListView. SGListView is implemented based on the onChangVisibleRows callback method of React Native ListView. But there is a big problem with onChangVisibleRows callback method. See ListView onChangeVisibleRows() stops being triggered after 100 rendered rows #9101 . So I decided to write YYListView based on onScroll callback method of React Native ListView.

Installation

Install via npm

npm install react-native-yylistview --save

Usage

Import YYListView

import YYListView from 'react-native-yylistview';

Change references from ListView to YYListView.

From:

<ListView ... />

To:

<YYListView ... />

About

YYListView is a memory-improved implementation of React Native's Listview

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published