rive-android icon indicating copy to clipboard operation
rive-android copied to clipboard

Jetpack Compose support

Open dannyvalentesonos opened this issue 3 years ago • 5 comments

Are there any plans to support Jetpack Compose? Is there any way to do this already today? I've looked, but can't find an example.

dannyvalentesonos avatar Oct 18 '22 16:10 dannyvalentesonos

Bump

hiteshchopra11 avatar Oct 21 '22 08:10 hiteshchopra11

There's already an issue with this topic #259

carloshs94 avatar Oct 27 '22 09:10 carloshs94

Hey guys, I took the time to find a way to have Rive composables in my project and I made a post in Stack Overflow with the code. That is the best solution I could come up with.

Rive + Jetpack Compose

Hope it helps.

delrioe avatar Dec 15 '23 21:12 delrioe

@delrioe thank you for the thread. Looks like it works quiet well but at the same time, the Rive team should really get a full support Compose view in so we don't have to do this. Even if its a wrapper of the XML on their end just so they can update it later.

slai47 avatar Apr 02 '24 11:04 slai47

@slai47 I totally agree with you on that. Hopefully their Android team can grow and offer more support on this area. Meanwhile, let me know if you run into issues with that implementation. It should be pretty straight forward and it should handle listeners and state changes.

delrioe avatar Apr 02 '24 17:04 delrioe

@delrioe Thanks for filling in the gaps as you did on StackOverflow.

Compose support is around the corner, and rather than have multiple open issues tracking it, I will close this one as a duplicate. Please follow #259 on GitHub, but there will also be announcements. Not long now.

ErikUggeldahl avatar Jul 08 '25 14:07 ErikUggeldahl