Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

没看懂PullLayout 是如何刷新结束的。 #3

Open
supermanxiacheng opened this issue May 21, 2018 · 2 comments
Open

没看懂PullLayout 是如何刷新结束的。 #3

supermanxiacheng opened this issue May 21, 2018 · 2 comments

Comments

@supermanxiacheng
Copy link

我集成到我的RN项目后,释放箭头,刷新视图不会消失。
onRefreshReleased 指定了方法后,也不触发。

@supermanxiacheng
Copy link
Author

我弄好了。 原来没搞懂Key和finishRefresh的用法。
谢谢你。
不过能解释下,为什么要用DeviceEmitter来回调js的方法吗,我们之前做播放器桥接的时候,是可以直接回调方法的。 不过我没细看你的代码,因为我只是一个iOS。。。

@wuyunqiang
Copy link
Owner

wuyunqiang commented May 22, 2018

@supermanxiacheng 之前写的时候我也是使用另一种直接回调的方式 但是在我测试的时候偶尔会后bug出现,应该是当时的版本问题, 所以才使用这种方式来实现的 如果你觉得另一种方式比较好 你也可以改成另一种方式。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants