ListView/GridView添加加载更多
Add it in your project's build.gradle at the end of repositories:
repositories {
// ...
maven { url "https://jitpack.io" }
}
Step 2. Add the dependency in the form
dependencies {
compile 'com.github.vilyever:AndroidAbsListViewLoadMore:1.0.4'
}
VDAbsListViewLoadMore.addLoadMoreDelegate(listView, new VDAbsListViewLoadMore.LoadMoreDelegate() {
@Override
public void requireLoadMore(AbsListView absListView) {
}
});