Android AlertDialog 多选按钮 回选
private String[] items = {"西施","王昭君","貂蝉","杨玉环"}; private boolean[] checkedItems = new boolean[]{false, true, false, true}; //记录各列表项的状态;public void showDialog(View v){ final List<String> choose = new ArrayList<>(); //choose 是点哪个加.
原创
2020-08-17 14:10:52 ·
441 阅读 ·
0 评论