我试图从firebase接收一个itens列表,包括一个将在列表中呈现的图像。
问题是,当列表太大而导致屏幕掉落时,Refresh Controll会停止工作。
Working way, with the list full on screen
Not working, if pulled, makes this effect of "reached on max"
<View contentContainerStyle={{ flex: 1 }}>
<ListView
enableEmptySections
dataSource={this.dataSource}
renderRow={this.renderRow}
refreshControl={
<RefreshControl
refreshing={this.state.refreshing}
onRefresh={this.onRefresh.bind(this)}
/>
}
/>
</View>
onRefresh() {
this.setState({ refreshing: true });
this.props.eventsFetch();
}