8
if (!beanList.get(position).isSelected()) {
for (SubscribeDateInfo.DataBean bean : beanList) {
bean.setSelected(false);
}
beanList.get(position).setSelected(true);
mAdapterSubscribeDate.notifyDataSetChanged();
}
这段代码放在setOnItemClickListener,实现单选达不到单选效果,换成原生RecyclerView就行,不知道是不是我操作问题 求解答