完成美颜UI 90%

This commit is contained in:
zlzw 2022-09-20 18:30:17 +08:00
parent d1d31da6be
commit 02206dc289

View File

@ -23,5 +23,6 @@ public class StyleViewHolder extends BaseViewHolder{
public void setData(BaseBean data) { public void setData(BaseBean data) {
icon.setImageResource(data.getImageRes()); icon.setImageResource(data.getImageRes());
title.setText(data.getDesRes()); title.setText(data.getDesRes());
icon.setSelected(getSelectPosition()==getAdapterPosition());
} }
} }