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

glide加载图片百分比进度跨越太大,几乎直接跳到100,能不能做得平缓一点 #5

Closed
tdxtxt opened this issue Jun 29, 2017 · 4 comments

Comments

@tdxtxt
Copy link

tdxtxt commented Jun 29, 2017

No description provided.

@JessYanCoding
Copy link
Owner

JessYanCoding commented Jun 29, 2017

是你自己网速太快,图片太下,你自己想想,我只要保证实际下载时间和进度显示同步,就不可能做到你说的平缓一点,我怎么做,难道你1秒时间就下载完了,我在延迟一秒,将速度分摊到延迟的这一秒?

@tdxtxt
Copy link
Author

tdxtxt commented Jun 29, 2017

恩,看你源码,是你REFRESH_TIME值200ms,设置小一点就可以了

@JessYanCoding
Copy link
Owner

JessYanCoding commented Jun 29, 2017

哦哦,抱歉,刚刚没理解你的意思,原来你这个意思,后面我会把这个时间提供出来,让使用者可以修改

@tdxtxt tdxtxt closed this as completed Jun 29, 2017
@JessYanCoding
Copy link
Owner

66e1cfb setRefreshTime() 可多次调用,你在请求前调用,就可以将后面的所有请求的刷新时间改变

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