Hi there. Has anyone had trouble with using Compos...
# compose
r
Hi there. Has anyone had trouble with using Compose in an existing screen? I have an Composable button that handles its own text. When the text is updated the whole element flashes on screen and appears to enter on the left or right side depending on whether the text is expanding or shrinking. I've tried adding
android:animateLayoutChanges="false"
to the xml file and have played around with
AnimatedContent()
and
.animateContentSize()
to no avail. I'm assuming it has something to do with the whole element being updated for some reason but am out of ideas on how to fix it, any thoughts?