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

需要展示网络加载失败图片 #7

Open
dong136279559 opened this issue Jul 6, 2018 · 5 comments
Open

需要展示网络加载失败图片 #7

dong136279559 opened this issue Jul 6, 2018 · 5 comments

Comments

@dong136279559
Copy link

无法在需要想要停止骨架屏的时候停止,我想要在特定的时候展示空白页面或者失败页面,无法做到.

@BeatsKitano
Copy link
Owner

图片加载失败,怎么不去sdwebimage里头处理,找这个干什么

@dong136279559
Copy link
Author

不不不,我要展示骨架屏,当网络请求加载后,如果失败,整个页面展示网络失败,请重试,或者空表界面,so。。。

@BeatsKitano
Copy link
Owner

你的这个需求跟这个库有强关系?添加一个View覆盖不久好了?甚至可以对添加的这个View做一个Somo效果

@dong136279559
Copy link
Author

你修改了数据源个数,导致其他根据数据源个数判断是否显示空白页面的第三方失效,这么说可以了吗?

@snowimba
Copy link

snowimba commented Nov 8, 2018

因为一开始就加了一个view把整个原有的view覆盖了,解决办法感觉可以在图片显示的view层单独使用beginSomo,图片加载出来或者失败后调用endSomo。或者不如说写一个封装,加个isSkeletonable属性

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

3 participants