Endless support for RecyclerView
dependencies {
compile 'com.github.ybq:Endless-RecyclerView:1.0.4'
}
RecyclerView recyclerView = ...;
Endless endless = Endless.applyTo(recyclerView,
new LoadingView()
);
endless.setLoadMoreListener(new Endless.LoadMoreListener() {
@Override
public void onLoadMore(int page) {
.....
endless.loadMoreComplete();
}
});
The MIT License (MIT)
Copyright © 2016 ybq