Skip to content

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

@jingju

Description

@jingju

@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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions