Adapter for a custom layout of listview

前端 未结 3 1589
自闭症患者
自闭症患者 2021-01-25 07:24

I am developing an android project in which I have to load from group of String arrays(say title,description,id) to the listview item TextView.

I did something similar w

3条回答
  •  闹比i
    闹比i (楼主)
    2021-01-25 07:45

    If you don't have a cursor, why are you using a SimpleCursorAdapter?

    Read this article about creating a SimpleListView using SimpleAdapter for alternate ideas.

提交回复
热议问题