react-native-gifted-listview icon indicating copy to clipboard operation
react-native-gifted-listview copied to clipboard

How to hidden the pull loading view

Open shangcongrong opened this issue 8 years ago • 0 comments

I user this view and pull to refresh ,and when I pull down , the circle loading view still visible even after the data has update .I don't know which parameters can hidden the circle loading view.And this is my code:

            <GiftedListView
                contentContainerStyle = {styles.list_view_style}
                dataSource = {this.state.dataSource}
                rowView = {this.renderRow}
                initialListSize = {10}
                pageSize = {10}
                onEndReached = {this.onEndReached}
                onEndReachedThreshold = {this.state.endReachedThresholdNum}
                enableEmptySections = {true}
                onFetch={this.refreshData}
                firstLoader={true} // display a loader for the first fetching
                pagination={false} // enable infinite scrolling using touch to load more
                refreshable={true} // enable pull-to-refresh for iOS and touch-to-refresh for Android
                withSections={false} // enable sections
                paginationAllLoadedView={this._renderPaginationAllLoadedView}
                customStyles={{
                  paginationView: {
                    backgroundColor: '#eee',
                  },
                }}
                refreshableTintColor="blue"
            />

shangcongrong avatar Sep 19 '16 09:09 shangcongrong