關於CheckBox的複用致使數據混亂問題

思路就是每個checkbox都添加一個tag,而後建立一個集合保存每個checkbox的tagide private List<Integer> positionList = new ArrayList<Integer>();spa check = (CheckBox) holder.itemView.findViewById(R.id.sygl_checkbox); //check設置標示把當前
相關文章
相關標籤/搜索