Xrecyclerview realizes the functions of drop-down refresh, scrolling to the bottom and loading more

Introduction: a recyclerview that implements the functions of drop-down refresh, scrolling to the bottom, loading more and adding header. The usage method is exactly the same as that of recyclerview. There is no need for additional layout and special adapter. The loading effect has built-in all effects on avloadingindicatorview, which can be specified as needed.

Project address: https://github.com/jianghejie/XRecyclerView

effect:

use:

xml

2.MainActivity

3. adapter

The above is the whole content of this article. I hope it will be helpful to your study, and I hope you can support programming tips.

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>