diff --git a/GiftedListView.js b/GiftedListView.js index f75a829..248d8a7 100644 --- a/GiftedListView.js +++ b/GiftedListView.js @@ -223,10 +223,14 @@ var GiftedListView = React.createClass({ }, _onPaginate() { - this.setState({ - paginationStatus: 'fetching', - }); - this.props.onFetch(this._getPage() + 1, this._postPaginate, {}); + if(this.state.paginationStatus==='allLoaded'){ + return null + }else { + this.setState({ + paginationStatus: 'fetching', + }); + this.props.onFetch(this._getPage() + 1, this._postPaginate, {}); + } }, _postPaginate(rows = [], options = {}) {