rive-app / rive-app/rive-android

Allowing url change during runtime

Open
#437 2 comments 0 reactions 0 assignees View on GitHub

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

  1. ResourceId
  2. ResourceUrl
  3. ResourceBytes
  4. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.