Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ExpandableStackView
for (i in 0 until adapter.count) {
val view = adapter.getView(i, null, this)
view.id = View.generateViewId()
startSet.constrainHeight(view.id, ConstraintSet.WRAP_CONTENT)
endSet.constrainHeight(view.id, ConstraintSet.WRAP_CONTENT)
connectViewToParent(startSet, view)
connectViewToParent(endSet, view)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment