react native listview 實現下拉刷新(RefreshControl)

刷新前 刷新後 清空數組 arr.splice(0,arr.length ) 代碼如下  <ListView refreshControl={ <RefreshControl refreshing={this.state.refreshing} onRefresh={this._onRefresh} />
相關文章
相關標籤/搜索