airbnb / lottie-android

Render After Effects animations natively on Android and iOS, Web, and React Native
http://airbnb.io/lottie/
Apache License 2.0
34.97k stars 5.4k forks source link

How to find keypaths in jetpack compose #2080

Closed Debdutta-Panda closed 2 years ago

Debdutta-Panda commented 2 years ago

I could not find any way or documentation to find all the keypaths in a animation. I got this in XML approach but failed to do so in jetpack compose. So, please help to find all the keypaths in jetpack compose.

gpeal commented 2 years ago

Your best bet is probably to use an AndroidView composable with an actual LottieAnimationView and then switch back once you know the KeyPath you need or just open up the animation in a sample project. As of now, I'm not planning on porting that particular API.

Debdutta-Panda commented 2 years ago

Yes, have already used the technique. But I would like to have this in pure compose way. The lottie is really very beautiful library for animation so it should be complete in itself. Its just my wish. Thanks.