Animate your apps with Rive and Compose Multiplatform
summary
A robotic espresso machine called Robo Gaja gets a walking animation wired into a shared UI that runs on Android and iOS using Compose Multiplatform. The build uses KMP expect/actual for platform composables, injects a UI view controller provider from the iOS app, adds Rive runtimes to both platforms, and imports a .riv asset exported to Android raw and the iOS bundle. The Rive IDE rig uses nine bones then increases to 11 and inverse kinematics to animate a looping run; both simulators show the running robot.
AI-written summary · about
chapters (12)
- 0:00Rive and Compose Multiplatform intro
- 2:53KMP project setup Android iOS
- 6:05Expect/actual platform code
- 8:35Android Rive animation
- 10:23iOS SwiftUI with Compose
- 13:32Dependency inversion UI
- 17:48Provider from iOS to Compose
- 20:00Coffee robot animation in Rive
- 23:54Bones IK in Rive rigging
- 28:08Robot legs animation
- 31:17Export Rive for Android iOS
- 32:39Animated coffee robot demo
related talks
51mShared mobile UIs with Compose Multiplatform
45mShared mobile UIs with Compose Multiplatform
40mBuilding Multiplatform Apps with Compose
35mBuilding Android/iOS Apps with Jetpack Compose
43mWhat's New in Compose Multiplatform
34mBuilding Shared UIs Across Platforms With Compose
45mThe Adventures of Kotlin And Compose Through the Multiplatform World
42mCompose Multiplatform on iOS: On the Road to Stable
