小ビューにidをふることで解決した
(0 until constraintLayout.childCount).forEach {
constraintLayout.getChildAt(it).id = View.generateViewId()
}
More than 3 years have passed since last update.
小ビューにidをふることで解決した
(0 until constraintLayout.childCount).forEach {
constraintLayout.getChildAt(it).id = View.generateViewId()
}
Register as a new user and use Qiita more conveniently