gameboyVito/react-native-ultimate-listview

react-native-ultimate-listview删除一条数据后如何再次触发刷新事件 来更新列表视图

mcl950121 opened this issue · 1 comments

react-native-ultimate-listview删除一条数据后如何再次触发刷新事件 来更新列表视图

<UltimateListView
ref={ref => this.listView = ref}
key={this.state.layout}
onFetch={this.onFetch.bind(this)}
keyExtractor={(item, index) => ${index} - ${item}}
refreshable={true}
allLoadedText={'没有更多数据了'}
waitingSpinnerText={'加载中...'}
item={this.renderItem.bind(this)} // this takes three params (item, index, separator)
/>

this.listView.refresh() 这个可以重置刷新