jaqxues
01/14/2021, 2:02 PManimate
has been deprecated and should now be animateAsState
however, there are 2 different top level functions for T
, and one for Color
androidx.compose.animation.animateAsState
(Color)
androidx.compose.animation.core.animateAsState
(T)
Is that intended?jim
01/14/2021, 5:57 PMDoris Liu
01/14/2021, 7:11 PManimation-core
doesn't depend on ui-graphics, so all Color-specific animation APIs are in animation
lib. Are you having trouble importing the color variant?jaqxues
01/14/2021, 7:12 PMDoris Liu
01/14/2021, 7:15 PM