-
public interface ViewModelInstanceSourceThe second half of a source for a ViewModelInstance. This represents the specific instance of the view model. This can be either:
Blank for an instance with default initialized properties,
Default for the default instance, or
Named for a specific named instance.
The Reference option is used to refer to a child instance, given an existing instance, at a slash delimited path.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classViewModelInstanceSource.BlankCreate a new view model instance with default value initialized properties, e.g. 0 for integers, empty strings, etc.
public final classViewModelInstanceSource.DefaultCreate a new view model instance with properties initialized to the values of the instance labelled "Default" in the Rive file.
public final classViewModelInstanceSource.NamedCreate a new view model instance with properties initialized to the values of the instance with the given name.
public final classViewModelInstanceSource.ReferenceCreate a reference to an existing child view model instance.
public final classViewModelInstanceSource.ReferenceListItemCreate a reference to an existing child view model instance within a list at a given index.
-