How do I animate a new element entering the compos...
# compose
a
How do I animate a new element entering the composition? Like if I have a
Column
with a variable number of items and I want a new item to slide in when it’s added.
AnimatedVisibility
doesn’t seem to be the right solution, because the content is not visible/invisible, it just doesn’t exist before it’s added.
a
You can check when item becomes visible via
LazyListState's
layoutInfo
+ use
AnimatedVisibility