react native 学习笔记17

1.学习拖拽刷新列表 修改App.js的,定义一个isRefreshing:false 伪造一下新的商品数据;     刷新数据: _onRefresh =() =>{ this.setState({isRefreshing:true}); setTimeout(()=>{ const products=Array.from(new Array(10)).map(
相关文章
相关标签/搜索