✅ Solved: updating view model, when no animation plays

We are using view models and data binding, and I’ve noticed, that data binding does not work, when there is no animation happening in the rive.
If there is nothing animating, and I update the properties of the viewModel, it’s not reflected in the rive. On android it’s enough to touch the animation on the screen and databinding will be updated, on iOS this trick does not work.

But I’ve noticed, that if we call `riveAnimationView.play()` on android or `riveViewModel.play()` on iOS right after changing the view model properties, then the databinding seems to work correctly…

Is that an intended behaviour, as the solution seems hacky? I’m not sure if calling `play` after each properties change would be without consequences…

—

I’ve created a very simple sample project on android to be sure that it’s not our complex setup that is causing problems - feel free to have a look:
https://github.com/imbryk/RiveTest/blob/updating-properties/app/src/main/java/co/thefab/rive/MainActivity.kt
https://github.com/imbryk/RiveTest/blob/updating-properties/app/src/main/res/layout/main.xml

the `rev` sources are also there:
https://github.com/imbryk/RiveTest/tree/updating-properties/riveSources

Screen_recording_20250826_131437.mp4