File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed
src/main/java/com/yhw/taglayout Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ allprojects {
1111 }
1212
1313dependencies {
14- implementation 'com.github.LuckyCodeer:TagLayout:1.0.7 '
14+ implementation 'com.github.LuckyCodeer:TagLayout:1.0.8 '
1515 }
1616```
1717
Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ android {
99 defaultConfig {
1010 minSdkVersion 16
1111 targetSdkVersion 30
12- versionCode 107
13- versionName " 1.0.7 "
12+ versionCode 108
13+ versionName " 1.0.8 "
1414
1515 testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
1616 consumerProguardFiles " consumer-rules.pro"
Original file line number Diff line number Diff line change @@ -298,6 +298,13 @@ class TagLayout : ViewGroup {
298298 return MarginLayoutParams (p)
299299 }
300300
301+ override fun setEnabled (enabled : Boolean ) {
302+ super .setEnabled(enabled)
303+ for ((childView, _) in mViewRectMap) {
304+ childView.isEnabled = enabled
305+ }
306+ }
307+
301308 interface OnItemClickListener {
302309 fun onItemClick (position : Int , view : View )
303310 }
You can’t perform that action at this time.
0 commit comments