修复:

優化UI
This commit is contained in:
18401019693
2022-08-31 10:18:56 +08:00
parent e181fbf0d2
commit 5a6e6a5dc4
9 changed files with 53 additions and 10 deletions

View File

@@ -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();
}