rive-app / rive-app/rive-android
Allowing url change during runtime
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 538
- Forks
- 66
- PR merge metrics
- No merged PRs in 30d
Description
Currently there are 4 ResourceType
- ResourceId
- ResourceUrl
- ResourceBytes
- ResourceRiveFile
Out of which 1,3 and 4 can be updated during runtime but the #2 cannot be. Lets say I have uploaded the asset somewhere and I want to change it during runtime using the binding adapter, I won't be able to do that.
Can we add a new method setResourceUrl which can be used to update during runtime?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the ResourceType handling and the binding adapter that currently updates ResourceId, ResourceBytes, and ResourceRiveFile. Add the runtime URL update path requested by the issue and verify that the binding adapter can replace a ResourceUrl after the asset has been uploaded.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100