Comments (10)
做了一些修改,更新到最新版本,再试试
from react-native-mjrefresh.
这次修改倒是能导进去,但是因为我们原生层也用到了MJRefresh库,跟这个库中的MJRefresh产生冲突了,所以还是报错找不到#import <React/RCTView.h>
,但是我们原生开发将你的RCTMJRefreshHeader单独提出来,后编译通过没问题
from react-native-mjrefresh.
重复导入应该删除一个就行吧
from react-native-mjrefresh.
删除原生依赖的MJRefresh库原生代码报错,原生依赖的MJRefresh版本为'3.1.15.3'
from react-native-mjrefresh.
那你就单独提出RCTMJRefreshHeader吧
from react-native-mjrefresh.
嗯,提出来的没做任何修改可以支持上拉加载不知为啥,你的例子不支持
from react-native-mjrefresh.
其实你竟然原生用了MJRefresh,我觉得就没有必要引用我库了,可以自己封装一下
from react-native-mjrefresh.
这样更好
from react-native-mjrefresh.
我不会ios,我们原生端不会RN所有自己封装成本高,你的库能不能MJRefresh与RCTMJRefreshHeader分开导入,这样如果再有人遇到这种情况就不用我们这么麻烦了。
from react-native-mjrefresh.
这个可能后续再分开吧
from react-native-mjrefresh.
Related Issues (20)
- 真机打包之后,无法显示下拉刷新的控件,而且各种阻塞事件 HOT 3
- 在rn 0.58.5版本中不能使用,报错如下: HOT 5
- 'React/RCTConvert.h' file not found
- 可以更新下版本吗?58.6用不了 退到57的话其他插件又有冲突 HOT 2
- iOS 12.2 报错:RCTScrollView may only contain a single subview HOT 8
- 你好,在下拉回调时,可否将lastUpdatedTime返回 HOT 4
- libRCTMJRefreshHeader.a找不到问题还是没有解决啊!! HOT 1
- 解决scrollview滑动不流畅 HOT 7
- 好像在刷新完成后,在重置动画完成前就将组建设为idle状态了
- 刷新控件和正文之间有一段空白 HOT 1
- 调用beginRefresh ,后没有,停顿触发刷新状态,直接弹回去了 HOT 1
- ListView has been removed HOT 2
- 请问继续下拉进入二楼效果有实现思路没?求帮忙 HOT 2
- RN 0.61.5 ScrollView 调用 scrollTo 方法报错: MJScrollViewManager.zoomToRect was called with 4 arguments but expects 3 arguments. HOT 8
- typescript support please?
- iOS使用报错
- Super expression must either be null or a function HOT 3
- 可以和安卓的版本一起使用吗
- ios 0.63.4 不支持 HOT 1
- 求大佬更新!!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-mjrefresh.