Skip to content

Commit 3dbac10

Browse files
author
hongyangAndroid
committed
fix issue #12
1 parent d727fe2 commit 3dbac10

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

.idea/vcs.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Github-FlowLayout.iml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
</facet>
1010
</component>
1111
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_7" inherit-compiler-output="true">
12-
<output url="file://$MODULE_DIR$/build" />
13-
<output-test url="file://$MODULE_DIR$/build" />
1412
<exclude-output />
1513
<content url="file://$MODULE_DIR$">
1614
<excludeFolder url="file://$MODULE_DIR$/.gradle" />

flowlayout-lib/src/main/java/com/zhy/view/flowlayout/TagFlowLayout.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ public void setAdapter(TagAdapter adapter)
105105
// return;
106106
mTagAdapter = adapter;
107107
mTagAdapter.setOnDataChangedListener(this);
108+
mSelectedView.clear();
108109
changeAdapter();
109110

110111
}
@@ -173,7 +174,7 @@ public boolean performClick()
173174
return mOnTagClickListener.onTagClick(child.getTagView(), pos, this);
174175
}
175176
}
176-
return super.performClick();
177+
return true;
177178
}
178179

179180

0 commit comments

Comments
 (0)