how to add a checkbox in a listview?

后端 未结 5 1164
长发绾君心
长发绾君心 2021-01-06 15:34

i have a question, been stuck for a while, i dont know how can i add a checkbox in the list, for example if I have a list of items i want to be able to check them. my xml c

5条回答
  •  南方客
    南方客 (楼主)
    2021-01-06 16:19

    Or you can extends any ListAdapter to a subclass and override bindView. Inside of if you would set .setText for the ChecBoxes!

提交回复
热议问题