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

1.修改MaterialHeader相关bug 2.RefreshInternal添加自动刷新加载回调 #1095

Open
wants to merge 6 commits into
base: release
Choose a base branch
from

Conversation

JunhuaLin
Copy link

用于区分这两种情况:a.用户拖动触发刷新,b.autoRefresh等方法触发刷新。目的在于实现不同的刷新效果。#72 (comment)

@JunhuaLin
Copy link
Author

JunhuaLin commented Dec 17, 2019

效果如下:
第一次刷新:手动拖拽触发刷新效果。
第二次刷新:调用autoRefresh触发的刷新效果。

功能建议:#72 (comment)

uaudk-3wrq0

@JunhuaLin JunhuaLin changed the title RefreshInternal添加自动刷新加载回调 1.修改MaterialHeader相关bug 2.RefreshInternal添加自动刷新加载回调 Jan 6, 2020
@JunhuaLin
Copy link
Author

JunhuaLin commented Jan 6, 2020

修复问题如下:
1.修复MaterialHeader设置后会影响其他刷新头部效果的bug #1075

2.MaterialHeader进度条相关bug
a)修复MaterialProgressDrawable设置进度条背景后导致环形箭头被覆盖的问题
b)修复背景后在暗色背景下有白边问题
c)修复MaterialHeader设置进度条背景不符合预期的问题
d) 移除进度条默认透明并新增设置进度条透明度接口
#1102

体验demo调整
3.MaterialStyleActivity修改主题时同时修改箭头进度条的颜色,使demo体验更好

@JunhuaLin
Copy link
Author

JunhuaLin commented Jan 6, 2020

修复MaterialHeader测量高度受其他header高度影响问题:MaterialHeader测量时给其固定高度为最小高度同值 #1103

@liangjingkanji
Copy link

这个体验效果非常不错

另外我认为SmartRefreshLayout的Material下拉拖拽刷新效果没有官方的SwipeRefreshLayout更容易触发, 感觉有点拖不动的感觉

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

Successfully merging this pull request may close these issues.

None yet

2 participants