react-native-refresh-list-view:基于FlatList的上拉、下拉刷新组件

时间:2021-04-12 19:55:47
【文件属性】:
文件名称:react-native-refresh-list-view:基于FlatList的上拉、下拉刷新组件
文件大小:1.03MB
文件格式:ZIP
更新时间:2021-04-12 19:55:47
JavaScript react-native-refresh-list-view 一个基于FlatList的列表下拉、上拉刷新控件。代码一共100多行,尽量写得简单易懂,方便各位根据自己的需求随意修改。 如果有bug或建议,欢迎提issue。 截图 下拉刷新 上拉翻页 已加载全部数据 安装 NPM npm install --save react-native-refresh-list-view 手动安装 下载源码,将RefreshListView.js拖入工程中 运行Demo 第一步 进入Example目录,执行: npm install 第二步 react-native run-ios Example constructor(props) { super(props) this.state = { refreshState: RefreshState.Idle, }
【文件预览】:
react-native-refresh-list-view-master
----.gitignore(400B)
----package.json(773B)
----Example()
--------.gitignore(813B)
--------.flowconfig(2KB)
--------package.json(721B)
--------package-lock.json(316KB)
--------src()
--------.buckconfig(114B)
--------android()
--------.watchmanconfig(2B)
--------metro.config.js(300B)
--------ios()
--------index.js(183B)
--------__tests__()
--------App.js(370B)
--------.prettierrc.js(120B)
--------babel.config.js(77B)
--------.gitattributes(16B)
--------app.json(51B)
--------yarn.lock(280KB)
----package-lock.json(94B)
----README.md(4KB)
----.npmignore(43B)
----.gitattributes(16B)
----screen_shot()
--------2.png(249KB)
--------3.png(248KB)
--------1.png(247KB)
----RefreshListView.js(5KB)

网友评论