49

android开发(3):列表listview的实现 | 下拉刷新-公众号-编程牛人

 5 years ago
source link: http://blog.51cto.com/13136504/2349890
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
APP里面的列表太常用了,系统提供的listview或grideview可以做到。另外,我希望这个列表能够下拉时触发刷新,于是考虑使用封装了这个功能的开源项目,这里介绍这个:https://github.com/Yalantis/Phoenix这是一个支持下拉刷新的控件,里面包括了ListView。(1)引入下拉刷新库同样,先引入这个库,在app/build.gradle的dependencies

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK