Android的GridView和分页 [英] Android gridview and paging
本文介绍了Android的GridView和分页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想要与Android GridView控件
分页,但首先我想知道是否有人对如何做到这一点的想法。
I want to make paging with android GridView
, but first I want to know if anyone has an idea of how to do that.
推荐答案
的一种方法是把你的网格视图中的 ViewFlipper ,然后用动画翻页。
One way is to put your grid views in a ViewFlipper and then flip with an animation.
使用setInAnimation()和setOutAnimation()来设置动画和翻转与showNext网页()和show previous()
Use setInAnimation() and setOutAnimation() to set the animations and flip the pages with showNext() and showPrevious()
这篇关于Android的GridView和分页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文