Gifted ListView
A new InfiniteList for react-native 0.43+ that compose react-virtualized/InfiniteLoader with the new react-native/VirtualizedList component, and a drop replacement component of react-native-gifted-listview
Changelog
0.1.5
- Pull-to-refresh
0.1.4
- react-native 0.43.0+
0.1.0
- the first version
GiftedListView Simple example
below code was take from react-native-gifted-listview just replace one line
var React = ;var StyleSheet Text View TouchableHighlight = React; // var GiftedListView = require('react-native-gifted-listview'); var Example = React; var styles = container: flex: 1 backgroundColor: '#FFF' navBar: height: 64 backgroundColor: '#CCC' row: padding: 10 height: 44 ;
InfiniteVirtualizedList Advanced example
See src/GiftedVirtualizedList.js
Installation
npm install react-native-infinite-virtualized-list --save
Features
- Pull-to-refresh
- Infinite scrolling
- Loader for first display
- Default view when no content to display
- Customizable (see advanced example)