twlistview
Version:
load more listview for react native
41 lines (30 loc) • 693 B
Markdown
# TWListView
Load more listview for react native
# NPM
[](https://www.npmjs.com/package/twlistview)
# Demo

# Install
npm install twlistview --save
# Getting started
```js
import TWListView from "twlistview";
```
```js
<TWListView
isLoading={this.state.isLoading}
ref={(ref) =>{
this.TWListView = ref;
}}
onLoaded={() =>{
this.load();
}}
renderRow={rowData => {
return (<View/>)
}
/>
```
# Stop loading
```js
this.TWListView.stopLoading();
```