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

如何避免重复弹出 #46

Closed
zinwalin opened this issue May 23, 2020 · 3 comments
Closed

如何避免重复弹出 #46

zinwalin opened this issue May 23, 2020 · 3 comments

Comments

@zinwalin
Copy link

或者说怎么判断是不是已经弹出?

@Im-Kevin
Copy link
Owner

你是怎么出现重复弹出的

@zinwalin
Copy link
Author

你是怎么出现重复弹出的

多个图片或视频上传中,有些视频未上传完成时,点击发送,这时显示'上传中,请稍等',等视频上传完成后回调完成发送。回调前,showWeuiLoadingToast界面一直要转圈圈,需不需要回调以showWeuiLoadingToast界面是否存在为条件。

@Im-Kevin
Copy link
Owner

showWeuiLoadingToast 会返回一个方法,你应该保存下来,然后通过判断这个是否为null, 执行后应该把他设置为null

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