修复:
優化UI
This commit is contained in:
@@ -111,6 +111,15 @@ public class CommonRefreshView extends FrameLayout implements View.OnClickListen
|
||||
mFooter.setTextSizeTitle(14);
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置头部字体颜色
|
||||
*
|
||||
* @param textColor
|
||||
*/
|
||||
public void setHeaderTextColor(int textColor) {
|
||||
mHeader.setAccentColor(textColor);
|
||||
}
|
||||
|
||||
private HttpCallback mRefreshCallback = new HttpCallback() {
|
||||
|
||||
private int mDataCount;
|
||||
@@ -295,7 +304,7 @@ public class CommonRefreshView extends FrameLayout implements View.OnClickListen
|
||||
* 手动设置没有更多数据
|
||||
* 因为日榜/周榜接口没有分页参数,会导致一直读取重复数据
|
||||
*/
|
||||
public void setNotLoadMore(){
|
||||
public void setNotLoadMore() {
|
||||
mSmartRefreshLayout.finishLoadMoreWithNoMoreData();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user