Endless-RecyclerView

Introduction: Endless support for RecyclerView
More: Author   ReportBugs   
Tags:
RecyclerView-加载更多-

Endless support for RecyclerView

Gradle Dependency

 dependencies {
    compile 'com.github.ybq:Endless-RecyclerView:1.0.4'
 }

Usage

RecyclerView recyclerView = ...;
Endless endless = Endless.applyTo(recyclerView,
                new LoadingView()
        );
endless.setLoadMoreListener(new Endless.LoadMoreListener() {
            @Override
            public void onLoadMore(int page) {
                .....
                endless.loadMoreComplete();
            }
        });

Acknowledgements

License

The MIT License (MIT)

Copyright © 2016 ybq

Apps
About Me
Google+: Trinea trinea
GitHub: Trinea