Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
lizhxian committed Nov 16, 2018
1 parent e71d54a commit 357192a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,12 @@ public void refreshComplete(int pageSize) {
mLoadingData = false;
mLoadMoreFooter.onComplete();
}

//处理特殊情况 最后一行显示出来了加载更多的view的一部分
if (mWrapAdapter.getInnerAdapter().getItemCount() == mPageSize) {
isCritical = true;
} else {
isCritical = false;
}
}

/**
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.0'
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down

0 comments on commit 357192a

Please sign in to comment.