I want to add views to Horizontal listview (custom). The way i want to add them is:
- Add a view (all views will be of width screenWidth/2) at top left of the screen.
- Add next view below that view.
- Keep adding till the bottom of the screen is reached. When there is no space for another view to sit, start adding to a new "column".
I have achieved this with a simple LinearLayout, now i am not getting any ideas how to do it with a ListView. The reason behind choosing a list view is that my app might contain thousands of such child views, and list view helps in keeping only those views i nmemory that are currerly needed.
Any help is appreciated guys.