react-native-refresh-control-view

1.0.3 • Public • Published

react-native-refresh-control-view

NPM

Implementation of a UIRefreshControl wrapped inside UIScrollView in React Native based on Hiroyuki Yoshifuji's react-native-refresh-control.

Installation

npm install react-native-refresh-control-view

Usage

var { RefreshableListViewIOS } = require('react-native-refresh-control-view');
    onRefresh() {
        return new Promise((resolve,reject) => {
        …
        });
    },
    render() {
        return(
            <RefreshableListViewIOS
                dataSource={this.state.dataSource}
                onRefresh={this.onRefresh}
                renderRow={this.renderRow}
            />
        );
    }

Readme

Keywords

none

Package Sidebar

Install

npm i react-native-refresh-control-view

Weekly Downloads

5

Version

1.0.3

License

MIT

Last publish

Collaborators

  • considerate