Named

data class Named(val vmSource: ViewModelSource, val instanceName: String) : ViewModelInstanceSource

Create a new view model instance with properties initialized to the values of the instance with the given name.

Parameters

vmSource

The source of the view model that owns this instance.

instanceName

The name of the instance in the Rive file to reference when creating the new instance.

Constructors

Link copied to clipboard
constructor(vmSource: ViewModelSource, instanceName: String)

Properties

Link copied to clipboard
Link copied to clipboard