交错的GridView与ScrollListener [英] Staggered GridView with ScrollListener

查看:115
本文介绍了交错的GridView与ScrollListener的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建一个网格状的Pinterest的或希望的Andr​​oid应用程序。 我已经找到了一些解决方案,如 http://www.androidviews.net/2013/ 01 / Pinterest的样适配器视图/

I want to create a grid-like in Pinterest or Wish Android applications. I already found some solutions like http://www.androidviews.net/2013/01/pinterest-like-adapterview/

但这一切,我发现没有一个ScrollListener,我使用来检测到达底部,并加载新的内容的解决方案。

But all the solutions that I found don't have a ScrollListener, that I am using to detect reaching the bottom and loading new content.

任何意见或解决方案?

推荐答案

怎么样试试这个开源库。 https://github.com/huewu/PinterestLikeAdapterView

how about try this open source library. https://github.com/huewu/PinterestLikeAdapterView

这是基于在Android内部接口视图codeS实现,提供自己的OnScrollerListener界面就像Android的原之一。

It is implemented based on android internal adapter view codes and provide its own OnScrollerListener interface just like android's original one.

这篇关于交错的GridView与ScrollListener的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆