Select All items of a ListView (custom row with checkbox in it)

后端 未结 3 1877
生来不讨喜
生来不讨喜 2021-02-13 09:59

What I have: I have a ListView with custom rows, having a CheckBox & two TextViews in each row. I have a button for \"Select All\".

What i

3条回答
  •  日久生厌
    2021-02-13 10:31

    have you looked this Correct way to check all checkboxes in ListView?

    int count = getListAdapter().getCount();
    

提交回复
热议问题