Join Slack
~Is it possible to animate LazyList items based on a condition? Let’s say I only want to animate ite...
# compose
n
nuhkoca
05/02/2022, 9:39 PM
Is it possible to animate LazyList items based on a condition? Let’s say I only want to animate items if selected sorting is
Price
but not
Name
? Now I am getting crash because key cannot be identical if I pass empty string if selected sorting is Name~
c
Chris Sinco [G]
05/02/2022, 10:31 PM
Do you have a mockup/video of what this would look like?
Chris Sinco [G]
05/02/2022, 10:31 PM
Also would be useful to see the code you’ve tried
n
nuhkoca
05/02/2022, 11:23 PM
Sorry that’s my bad. I already have a sorted list from upstream so animation won’t affect item position
7
Views
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by