Hi, how can I animate a row in lazycolumn when the...
# compose
r
Hi, how can I animate a row in lazycolumn when the content changes? The row gets recomposed as the items in lazy list are keyed and the key changes
s
But is it the same item, only with slightly changed contents? In that case shouldn’t that mean that the key shouldn’t change at all? Therefore not recomposing unnecessarily? Or is it in cases where the content ID really changes, but it’s of the same
contentType
so you’d prefer the animations to play instead of jumping to the new state?
r
yes its of the second type -> content ID changes, but it’s of the same type. I want to animate this change
s
Yeah, then if one of the existing issues don’t satisfy this situation, I’d file a new one with specifically this use case to see what kind of response you get and if as a first step at least this situation is being worked on or not.