: I see we have this example in the codebase that wraps each item around
AnimatedVisibility
. However, the example is rather simplistic in that the
visible
flag to
AnimatedVisibility
is computed via indices; the actual list backing the
LazyColumn
doesn’t mutate.
In most app scenarios, lists mutate based on some source of truth (domain/business layer). Can
AnimatedVisibility
still be used in some capacity to animate mutating lists, or are there any other Compose constructs we can use?
c
curioustechizen
03/26/2021, 8:17 AM
There isn't yet item animation support in Compose (at least not the way RecyclerView provides).
Here's the bug tracking this feature: https://issuetracker.google.com/150812265