✅ Solved: Which ViewModel property types can be Data Binding to a Solo’s Active property?

Hi everyone,

I’m working on a Rive file where I’m using a Solo to switch between multiple SVG icons inside a single HabitItem artboard. Inside the HabitItem, I created a Solo that contains all the different icon artboards, like habitIcon_1, habitIcon_2, etc.

In my ViewModel (HabitItemVM), I added an Enum property called iconType (with values matching the icon names exactly). I tried binding the Solo’s Active property to this Enum. However, when I switch between Enum values in the instance properties or at runtime, the Solo does not switch to the designated icon. It stays stuck on the default.

Based on the Data Binding Overview, I know I only get one “Active” binding slot—but Rive docs don’t explicitly state whether Solo supports Enum binding or if we have to use Number/Boolean.

So I’m wondering:

  • What property types can actually be used to control a Solo’s Active binding?

  • Does Rive support Enum binding there, or do we have to transform the Enum into a Number or String?

  • Has anyone gotten Solo switching to work properly via data binding, and if so, how?

Thank you so much—really appreciate any help or clarity from folks who have solved this before!