https://kotlinlang.org logo
#compose-wear
Title
# compose-wear
j

james

06/24/2022, 6:29 AM
is there anything similar to
animateItemPlacement()
for
ScalingLazyColumn
?
j

John Nichol

06/24/2022, 8:45 AM
Nothing at the moment, but this is on our Radar. We have raised this as a feature request for the underlying 'LazyColumn' that 'ScalingLazyColumn' builds on. We are also planning to explore rewriting SLC on top of LazyLayout once it is ready to move out of Expermental.
Rereading your question I realize that I made an assumption that you were asking about item insertion/deletion which is probably incorrect. I haven't looked at 'animateItemPlacement()' in detail yet - will see how it works and give some thought to how it would fit with SLC
j

james

06/25/2022, 2:41 AM
thanks for the super fast response there John, sorry I took a while to come back to you the main thing I’d like here is be able to add new items into my
ScalingLazyColumn
and have it look a bit nicer (ie. animated) and not so abrupt and jarring
12 Views