diff --git a/FaceUnity/src/main/java/com/yunbao/faceunity/adapters/vh/StyleViewHolder.java b/FaceUnity/src/main/java/com/yunbao/faceunity/adapters/vh/StyleViewHolder.java index 14bc28cfc..c3e675100 100644 --- a/FaceUnity/src/main/java/com/yunbao/faceunity/adapters/vh/StyleViewHolder.java +++ b/FaceUnity/src/main/java/com/yunbao/faceunity/adapters/vh/StyleViewHolder.java @@ -23,5 +23,6 @@ public class StyleViewHolder extends BaseViewHolder{ public void setData(BaseBean data) { icon.setImageResource(data.getImageRes()); title.setText(data.getDesRes()); + icon.setSelected(getSelectPosition()==getAdapterPosition()); } }