I’m currently using a HorizontalListView which I add items to by using the addView method.
Is there a way to populate a HorizontalListView with an ArrayAdapter in the same way as you can for a ListView, which is always vertical?
I’m currently using a HorizontalListView which I add items to by using the addView
Share
I assume you meant you are using HorizontalScrollView, because there is no such thing as HorizontalListView. If you want to accomplish that your best shot is to create that type of ListView yourself, ie. by subclassing
AbsListVieworAdapterView. Or you could just use somebody elses code, like this Horizontal ListView 🙂