由于整个项目比较大,所以只上传了代码,并不是整个工程。可以自己建工程,代码是完整的。
Because the whole project is relatively large, only the code is uploaded, not the whole project. You can build your own project, and the code is complete.
RecyclerView上拉加载,先看效果:
网上有很多这类得框架,不过在自己的项目只用到上拉加载的功能,所以自己封装一个简单点的。
主要依赖BaseRecyPRAdapter这类
public abstract class BaseRecyPRAdapter extends RecyclerView.Adapter {
private static final String TAG = BaseRecyPRAdapter;
public static final int VIEW_