react native 學習筆記17

1.學習拖拽刷新列表 修改App.js的,定義一個isRefreshing:false 僞造一下新的商品數據;     刷新數據: _onRefresh =() =>{ this.setState({isRefreshing:true}); setTimeout(()=>{ const products=Array.from(new Array(10)).map(
相關文章
相關標籤/搜索