Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/Kaka252/FlexboxUtils
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaka252 committed Mar 30, 2017
2 parents 122cf54 + 12c9256 commit e3fb54a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,13 +145,13 @@ public class StringTagAdapter extends TagAdapter<StringTagView, String> {
可以通过设置模式来控制标签的单选与多选操作
```
...
adapter.setMode(TagFlowLayout.MODE_SINGLE_SELECT);
flowLayout.setMode(TagFlowLayout.MODE_SINGLE_SELECT);
```
# 选中高亮效果
可以设置是否选中高亮,默认为选中高亮
```
...
adapter.setShowHighlight(false);
flowLayout.setShowHighlight(false);
```

# 绑定数据到控件
Expand All @@ -167,4 +167,4 @@ public class StringTagAdapter extends TagAdapter<StringTagView, String> {
adapter.setSource(data);
adapter.setSelectItems(selectItems);
adapter.notifyDataSetChanged();
```
```

0 comments on commit e3fb54a

Please sign in to comment.