SHSwipeRefreshLayout
SHSwipeRefreshLayout copied to clipboard
sample的下拉刷新过程中HeadView的设置有错误
@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
谢谢,我大意了