仿瀑布流的实现原理,例PinterestListView,PinterestLikeAdapterView,PinterestLikeAdapterView

来源:互联网 发布:linux 安装gtk3 编辑:程序博客网 时间:2024/06/05 10:54

仿瀑布流的实现原理

参考:

http://www.w3c.com.cn/android%E7%80%91%E5%B8%83%E6%B5%81%E7%AE%80%E5%8D%95%E5%AE%9E%E7%8E%B0%E5%8E%9F%E7%90%86

http://tech.ddvip.com/2013-09/1379785198203013.html

相关:

http://blog.csdn.net/linghu_java/article/details/8574102

http://www.cnblogs.com/chenying99/archive/2012/08/02/2620703.html


PinterestListView

原理较简单,两个LISTVIEW,在外部TOUCH时判断触摸的LISTVIEW,然后计算另外一个LISTVIEW应该滑动的位置,同步两个LISTVIEW


StaggeredGridView


PinterestLikeAdapterView


0 0
原创粉丝点击