Skip to content

XBeats/and_pagingview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PagingView

RecyclerView,ListView分页显示解决方案

firstly

use com.aitangba.pagingview.core.PagingRecyclerView in your xml.

secondly

mRecyclerView.setOnLoadMoreListener(new OnLoadMoreListener() {
            @Override
            public void onLoadMore(boolean isReload) {
                Log.d("TAG", "onLoadMore ---");
                loadData();
            }
        });

finally

mAdapter.setData(mRecyclerView.checkPaging(getData(2)));

About

RecyclerView,ListView分页显示解决方案

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages