Horizontal ListView [duplicate]

流过昼夜 提交于 2019-12-22 10:45:09

问题


Possible Duplicate:
How can I make a horizontal ListView in Android?

I have used Vertical ListView Many Times but for certain requirements I want to implement the Horizontal ListView, Also list Items will come dynamically.Please help me to get the horizontal Listview.


回答1:


The Android API seems to be lacking a Horizontal ListView widget.

So In other tutorials, developer are implemented it using Gallery or HorizontalScrolllView.

Actually Gallery is make it easy because you can use Adapter with it so at runtime you can add custom view in it. And it look likes a Horizontal ListView.

Just go through the below link,

In all possible way this would be recommended Android Horizontal ListView

Also this SO question How can I make a horizontal ListView in Android?



来源:https://stackoverflow.com/questions/10617126/horizontal-listview

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!