【发布时间】:2017-08-16 15:56:50
【问题描述】:
render() {
return (
<ScrollView style={styles.scroll_style}>
{this._renderStoreInfo()}
{this._renderOperatesView()}
<View style={styles.space}/>
<ListView
contentContainerStyle={styles.list}
dataSource={this.state.dataSource}
renderRow={(rowData, sectionID, rowID) => this._renderRow(rowData, rowID)}
renderFooter={this._renderFooter.bind(this)}
onEndReached={this._onEndReached.bind(this)}
onEndReachedThreshold={10} />
</ScrollView>
);
}
onEndReached 一安装就一次又一次地触发。但我不滚动(拉起)列表视图。
【问题讨论】:
标签: react-native