Does Android have a Table like Adapter for ListView

前端 未结 4 1622
南方客
南方客 2021-01-05 02:48

I\'m using a ListView to show a list of items. These items are in a table format with columns and rows. Is there a table like adapter to make sure all the columns and rows l

4条回答
  •  醉梦人生
    2021-01-05 03:05

    You can use a ListView or a ListFragment and populate items using each time a single TableRow inside a TableLayout (maybe using android:stretchColumns="0")

    you'll have a TableLayout per line, so it's probably inefficient but it does what you are trying to do

提交回复
热议问题