Skip to content

Instantly share code, notes, and snippets.

@GRizzi91
Last active August 2, 2021 14:03
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