Skip to content

Commit

Permalink
Fix 修改类作用域,使其可以自定义
Browse files Browse the repository at this point in the history
  • Loading branch information
youlookwhat committed Nov 1, 2019
1 parent 6f5d3f9 commit 58f690f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* @author jingbin
*/
interface BaseLoadMore {
public interface BaseLoadMore {

int STATE_LOADING = 0; // 加载中...,显示布局
int STATE_COMPLETE = 1; // 加载完成,隐藏布局
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*
* @author jingbin
*/
interface BaseRefreshHeader {
public interface BaseRefreshHeader {

int STATE_NORMAL = 0; // 正常
int STATE_RELEASE_TO_REFRESH = 1; // 释放刷新
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ private boolean isReservedItemViewType(int itemViewType) {
*/
public void setLoadingMoreView(BaseLoadMore loadingMore) {
mLoadMore = loadingMore;
mLoadMore.setState(BaseLoadMore.STATE_COMPLETE);
}

/**
Expand Down

0 comments on commit 58f690f

Please sign in to comment.