-
-
Notifications
You must be signed in to change notification settings - Fork 518
Closed
Description
I love this library btw.
I have a <ListView>
which loads more content when it reaches the bottom(end).
renderFooter() {
if (noMore) return null
return (
<View style={{justifyContent: 'center', alignItems: 'center', height: 50}}>
<Progress.Circle
size={20}
indeterminate={true}
color={"#000"} />
</View>
)
}
render() {
return (
<ListView
style={{flex: 1}}
refreshControl={
<RefreshControl
...
/>
}
onEndReached={this.loadMore.bind(this)}
onEndReachedThreshold={10}
scrollEventThrottle={150}
dataSource={new ListView.DataSource({ rowHasChanged: (row1, row2) => row1 !== row2 }).cloneWithRows(articles)}
...
renderFooter={this.renderFooter.bind(this)} />
)
}
When it reaches the bottom, the animation on it stops or goes to a crawl.
I've tested this on an iPhone 5S, iPhone 7 simulator, and Nexus 6P.
Metadata
Metadata
Assignees
Labels
No labels