Use array adapter with more views in row in listview

后端 未结 4 786
广开言路
广开言路 2020-12-16 01:48

I have stumbled upon a problem I can\'t quite get my head around, so I was hoping perhaps someone here have had the same problem or knew a good way of solving the problem. <

4条回答
  •  Happy的楠姐
    2020-12-16 02:22

    You could try this https://devtut.wordpress.com/2011/06/09/custom-arrayadapter-for-a-listview-android/. You have to create a custom class Item with fields you need and extend ArrayAdapter .

提交回复
热议问题