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

sample的下拉刷新过程中HeadView的设置有错误 #12

Open
jingju opened this issue Apr 27, 2017 · 1 comment
Open

sample的下拉刷新过程中HeadView的设置有错误 #12

jingju opened this issue Apr 27, 2017 · 1 comment

Comments

@jingju
Copy link

jingju commented Apr 27, 2017

@OverRide
public void onRefreshPulStateChange(float percent, int state) {
switch (state) {
case SHSwipeRefreshLayout.NOT_OVER_TRIGGER_POINT:
swipeRefreshLayout.setLoaderViewText("下拉刷新");
break;
case SHSwipeRefreshLayout.OVER_TRIGGER_POINT:
swipeRefreshLayout.setLoaderViewText("松开刷新");
break;
case SHSwipeRefreshLayout.START:
swipeRefreshLayout.setLoaderViewText("正在刷新");
break;
}
}

其中setLoaderViewText应该改成setRefreshViewText

@miomin
Copy link
Owner

miomin commented Apr 28, 2017

谢谢,我大意了

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