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

空数据的问题 #3

Open
nidom opened this issue Jan 15, 2016 · 1 comment
Open

空数据的问题 #3

nidom opened this issue Jan 15, 2016 · 1 comment

Comments

@nidom
Copy link
Contributor

nidom commented Jan 15, 2016

如果产品的请求失败和无数据UI是不同设计的话,会有这个情况
1.用户进入功能,无网,显示请求失败UI
2.有网后刷新数据,如果这个时候数据是空数据,就无法切换成空数据的UI了

@ACode-Farmer
Copy link

不是在makePlaceHolderView加网络和空数据的判断就行了嘛!
每次不管是网络问题还是空数据都会去调用cyl_reloadData,那么一定会回调到makePlaceHolderView

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