ListView with textViews wrapped horizontally filled dynamically
android, listview
Solution
Use Google's brand new FlexboxLayout and its flexWrap:
https://github.com/google/flexbox-layout
Problem
A simple list view declared like below lists vertically the texts associated with its adapter. ``` <ListView android:layout_width="match_parent" android:layout_height="wrap_content" android:id="@+id/itemsListView"> </ListView> ``` I need a view with variable number of items wrapped horizontally and its items are decided at runtime (illustrated in image below). How do I achieve that?