Hi Everyone! I hope you’re all doing great and bei...
# compose
i
Hi Everyone! I hope you’re all doing great and being safe. I just pulled
beta01
and I am having troubles figuring out what happened to
SwipeableConstants.DefaultAnimationSpec
? I couldn’t find anything relevant in the release notes or maybe I overlooked it. Does anyone knows where to find it? previously it was in
material
artifact. Thanks in advance
l
SwipeableDefaults.AnimationSpec
🙂 Everything *Constants was renamed to *Defaults, and unnecessary Default prefixes were dropped
1
i
Thank you so much! @Louis Pullen-Freilich [G]
if I may ask also what happened to
AnimationClockObservable
? 🤔
l
A bit more tricky, animations are now suspending functions, so it depends on what you were doing with AnimationClockObservable 🙂
i
AnimationClockObservable
and subclasses have been removed. AnimatedFloat has been removed. (Icde52b/177457083)
I found this in the release notes. Well I am trying to implement a CardStack with swipe animation just like Tinder style. I don’t have a very big experience with Compose so I am just fidgeting around
l
Hopefully the animation guide is helpful then https://developer.android.com/jetpack/compose/animation
👌 1
i
Well that’s something I should’ve checked already! Great suggestion I will get in on it. Thanks again Louis!