tinylpc
tinylpc
我是这样处理的,需要将源码弄到本地(即3个js文件),然后import本地的,在ViewPager.js中加入方法 ``` setCurrentPageZero(){ this.setState({ currentPage: 0, viewWidth: 0, }) }, ``` 然后在更新完数据后调用下此方法 ``` this.setState({ dataSource: this.state.dataSource.cloneWithPages(IMGS2), }), this.pager.setCurrentPageZero() ```
具体怎么获取啊,config里面有好多参数,试了很多都没获取到 @icepy
已找到方式
``` 1111 222222 333333 ``` when the initialPage's value is 1,the Text value 222222 will not show。