本文介绍了如何避免间距画廊的起点和终点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我不希望有一个圆形的画廊,而是我不希望显示在画廊的左,右端的自由空间?有没有我可以做到这一点任何可能的方式?
解决方案我会建议你去尝试 HorizontalListView 。它并不像其他Android组件不错,但被证明是值得在大多数情况下,
水平的ListView实现了 以下特点:
子类适配器视图这样我就可以使用适配器 快速 - 使回收的观点尽可能的使用 项目是点击 - (接受AdapterView.OnItemClickListener) 滚动 无中心锁
I don't want a circular gallery, but instead I don't want to show the free space in the left and right end of the gallery? Is there any possible way I can achieve this?
解决方案I will suggest you to try HorizontalListView. Its not that good as other android components but proves to be worth in most of the cases
Horizontal ListView implementation has the following features:
Subclass AdapterView so I can make use of adapters Fast – make use of recycled views when possible Items are clickable – (accepts AdapterView.OnItemClickListener) Scrollable No center-locking
更多推荐
如何避免间距画廊的起点和终点
发布评论