https://github.com/brianwernick/rive-sample
A Sample of using Rive in Jetpack Compose
https://github.com/brianwernick/rive-sample
Last synced: about 2 months ago
JSON representation
A Sample of using Rive in Jetpack Compose
- Host: GitHub
- URL: https://github.com/brianwernick/rive-sample
- Owner: brianwernick
- Created: 2024-04-03T16:19:06.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-01T20:15:55.000Z (8 months ago)
- Last Synced: 2025-01-18T10:46:51.777Z (4 months ago)
- Language: Kotlin
- Size: 149 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Rive Sample
This project has 2 primary uses:
1. As an example of how to use Rive in Jetpack Compose
2. As a way to provide reproduction setups for issues filed with Rive### Compose
The Compose implementation is split between 2 primary files located under `components`
1. `RiveAnimation` which provides the Composable function of the same name
2. `RiveStateController` which is used by the `RiveAnimation` to provide a more Compose friendly way of controlling animations