Tash
03/26/2021, 3:44 AMItemAnimator
-esque animations for additions/removals into a LazyColumn/Row
: 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?curioustechizen
03/26/2021, 8:17 AMcurioustechizen
03/26/2021, 8:17 AMTash
03/26/2021, 6:44 PM